]> git.sesse.net Git - vlc/blobdiff - modules/demux/dirac.c
Merge branch 1.0-bugfix
[vlc] / modules / demux / dirac.c
index 66012fef6a22c38c3bb5b675adb2a058075535ce..84e66913830f3aef1a2b85b0cd4fa7c981adebdc 100644 (file)
@@ -170,7 +170,7 @@ static int Demux( demux_t *p_demux)
         block_t *p_null = block_Alloc( 128 );
         if( p_null )
         {
-            p_null->i_flags = BLOCK_FLAG_DISCONTINUITY;
+            p_null->i_flags = BLOCK_FLAG_DISCONTINUITY | BLOCK_FLAG_CORRUPTED;
             p_null->p_next = p_block_in;
         }
         p_block_in = p_null;
@@ -184,10 +184,7 @@ static int Demux( demux_t *p_demux)
             p_block_out->p_next = NULL;
 
             if( p_sys->p_es == NULL )
-            {
-                p_sys->p_packetizer->fmt_out.b_packetized = true;
                 p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_out);
-            }
 
             p_block_out->i_dts += p_sys->i_dtsoffset;
             p_sys->i_dts = p_block_out->i_dts;