Commit bbde0a77 authored by Gildas Bazin's avatar Gildas Bazin

* modules/demux/mpeg/m4v.c: wait until we get p_extra from the packetizer before adding the stream.

parent 0f1bed44
...@@ -126,11 +126,8 @@ static int Open( vlc_object_t * p_this ) ...@@ -126,11 +126,8 @@ static int Open( vlc_object_t * p_this )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
/* /* We need to wait until we gtt p_extra (VOL header) from the packetizer
* create the output * before we 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 );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment