[vlc-commits] demux: ps: directly flag winsubmux as bad scr source
Francois Cartegnie
git at videolan.org
Sun Mar 12 20:23:34 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar 12 19:34:05 2017 +0100| [b7fd57bd5d7507e42c80f49de360142bfc4c727e] | committer: Francois Cartegnie
demux: ps: directly flag winsubmux as bad scr source
Should not change logic, but untested: no samples.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b7fd57bd5d7507e42c80f49de360142bfc4c727e
---
modules/demux/mpeg/ps.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/demux/mpeg/ps.c b/modules/demux/mpeg/ps.c
index acd1f07..de6cb44 100644
--- a/modules/demux/mpeg/ps.c
+++ b/modules/demux/mpeg/ps.c
@@ -538,8 +538,7 @@ static int Demux( demux_t *p_demux )
( tk->fmt.i_codec == VLC_CODEC_OGT ||
tk->fmt.i_codec == VLC_CODEC_CVD ) )
{
- p_sys->i_scr = -1;
- p_sys->i_last_scr = -1;
+ p_sys->b_bad_scr = true;
}
if( p_sys->i_scr >= 0 && !p_sys->b_bad_scr )
More information about the vlc-commits
mailing list