summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demuxer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-10 07:17:51 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-10 07:26:39 +0200
commit8fb91511b1e69a0121d33ab48974e0a4b8151858 (patch)
tree3da0fb02ddbbaa86268e6b95a91a2d43e2602f85 /libmpdemux/demuxer.c
parent3c2cfee488f09bd34b1edf80219d9ea66508c669 (diff)
downloadmpv-8fb91511b1e69a0121d33ab48974e0a4b8151858.tar.bz2
mpv-8fb91511b1e69a0121d33ab48974e0a4b8151858.tar.xz
demux_lavf: add simple seek-by-bytes mode for MPEG
Seeking in MPEG files with pts resets could fail completely, as it was always done by timestamps and those of course don't unambiguously specify a file position in such files. Add basic functionality for byte-based seeking and playback position reporting, and decide whether to use that functionality based on a simple heuristic (could be improved).
Diffstat (limited to 'libmpdemux/demuxer.c')
0 files changed, 0 insertions, 0 deletions