diff options
author | wm4 <wm4@nowhere> | 2014-09-03 01:59:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-03 02:00:18 +0200 |
commit | 9e512c5a98fc5cf827611a809e43698197831b3d (patch) | |
tree | b371a0c3c636740c302bd04748b11aa5bc6054e3 /video/out/vo_caca.c | |
parent | bf74a4cc4665f152212c0e165bbe2a20d535021c (diff) |
demux: allow increasing filepos only
The last demuxed file position (demuxer->filepos) is used to estimate
the total playback percentage in files with possible timestamp resets
(like MPEG-PS). Until know, reading from any stream set this position
freely. This makes the position jump around.
Fix this by allowing icnreasing file position only. Reset it on seeking.
With crazy formats, this still could go wrong, but there's only so much
you can do.
Diffstat (limited to 'video/out/vo_caca.c')
0 files changed, 0 insertions, 0 deletions