Commit 45820ea8 authored by Steve Lhomme's avatar Steve Lhomme

mkv.cpp: start the UI hook a bit later

parent d59a067b
......@@ -1235,7 +1235,6 @@ public:
,p_ev(NULL)
{
vlc_mutex_init( &demuxer, &lock_demuxer );
StartUiThread();
}
virtual ~demux_sys_t()
......@@ -1455,6 +1454,8 @@ static int Open( vlc_object_t * p_this )
goto error;
}
p_sys->StartUiThread();
return VLC_SUCCESS;
error:
......@@ -1943,6 +1944,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
/* add all es */
msg_Dbg( &sys.demuxer, "found %d es", tracks.size() );
sys.b_pci_packet_set = false;
for( i_track = 0; i_track < tracks.size(); i_track++ )
{
if( tracks[i_track]->fmt.i_cat == UNKNOWN_ES )
......
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