]> git.sesse.net Git - vlc/commitdiff
* modules/demux/mpeg/m4v.c: wait until we get p_extra from the packetizer before...
authorGildas Bazin <gbazin@videolan.org>
Fri, 9 Jun 2006 20:45:41 +0000 (20:45 +0000)
committerGildas Bazin <gbazin@videolan.org>
Fri, 9 Jun 2006 20:45:41 +0000 (20:45 +0000)
modules/demux/mpeg/m4v.c

index c6d07992580bef1fe9aa0ccc1be62f7622e15f7c..5ba3e71af73ce8fe091eea7cc61fbab88e96a6da 100644 (file)
@@ -126,11 +126,8 @@ static int Open( vlc_object_t * p_this )
         return VLC_EGENERIC;
     }
 
-    /*
-     * create the output
-     */
-    es_format_Init( &fmt, VIDEO_ES, VLC_FOURCC( 'm', 'p', '4', 'v' ) );
-    p_sys->p_es = es_out_Add( p_demux->out, &fmt );
+    /* We need to wait until we gtt p_extra (VOL header) from the packetizer
+     * before we create the output */
 
     return VLC_SUCCESS;
 }