Commit 1fea773d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

TTML: fix failed probes

parent ac5806cb
...@@ -38,7 +38,7 @@ static void Close( demux_t* p_demux ); ...@@ -38,7 +38,7 @@ static void Close( demux_t* p_demux );
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("TTML") ) set_shortname( N_("TTML") )
set_description( N_("TTML demuxer") ) set_description( N_("TTML demuxer") )
set_capability( "demux", 10 ) set_capability( "demux", 2 )
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_DEMUX ) set_subcategory( SUBCAT_INPUT_DEMUX )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
...@@ -334,4 +334,6 @@ static void Close( demux_t* p_demux ) ...@@ -334,4 +334,6 @@ static void Close( demux_t* p_demux )
} }
free( p_sys->subtitle ); free( p_sys->subtitle );
free( p_sys ); free( p_sys );
stream_Seek( p_demux->s, 0 );
} }
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