[vlc-commits] demux: ts: return file offset, not time with seekpp
Francois Cartegnie
git at videolan.org
Thu Nov 10 12:03:31 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov 10 11:48:20 2016 +0100| [a1a52484ba666bc4e5b6d3772c1e5f50414d437d] | committer: Francois Cartegnie
demux: ts: return file offset, not time with seekpp
refs #17582
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1a52484ba666bc4e5b6d3772c1e5f50414d437d
---
modules/demux/mpeg/ts.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index f6676da..20a22b9 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -863,7 +863,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
}
- if( p_pmt &&
+ if( !p_sys->b_ignore_time_for_positions &&
+ p_pmt &&
p_pmt->pcr.i_first > -1 && p_pmt->i_last_dts > VLC_TS_INVALID &&
p_pmt->pcr.i_current > -1 )
{
More information about the vlc-commits
mailing list