[vlc-commits] TTML: fix failed probes
Jean-Baptiste Kempf
git at videolan.org
Sun May 3 18:27:47 CEST 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 3 16:10:04 2015 +0200| [1fea773da5f76f23ddb875973798abac10c6a004] | committer: Jean-Baptiste Kempf
TTML: fix failed probes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1fea773da5f76f23ddb875973798abac10c6a004
---
modules/demux/ttml.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/demux/ttml.c b/modules/demux/ttml.c
index 139854e..3242302 100644
--- a/modules/demux/ttml.c
+++ b/modules/demux/ttml.c
@@ -38,7 +38,7 @@ static void Close( demux_t* p_demux );
vlc_module_begin ()
set_shortname( N_("TTML") )
set_description( N_("TTML demuxer") )
- set_capability( "demux", 10 )
+ set_capability( "demux", 2 )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_DEMUX )
set_callbacks( Open, Close )
@@ -334,4 +334,6 @@ static void Close( demux_t* p_demux )
}
free( p_sys->subtitle );
free( p_sys );
+
+ stream_Seek( p_demux->s, 0 );
}
More information about the vlc-commits
mailing list