diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-02-26 05:53:13 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-02-26 05:53:13 +0200 |
commit | 9f9bbb3c8b0cce1d148f3f6046ec8deb636577ff (patch) | |
tree | 58f5fa2bfeda1b5131360badbe82073e88e6c131 /drivers/tdfx_vid.c | |
parent | d0bae74702bf74a38ec36abd267efa0b070fc943 (diff) | |
download | mpv-9f9bbb3c8b0cce1d148f3f6046ec8deb636577ff.tar.bz2 mpv-9f9bbb3c8b0cce1d148f3f6046ec8deb636577ff.tar.xz |
demux_lavf: update growing file size info for AVSEEK_SIZE
demux_lavf was returning a static size value when libavformat queried
file size with AVSEEK_SIZE. Add code to query the stream for possibly
changed value first. This at least improves seeking with growing MPEG
files; before seeks would never go beyond the part of the file that
existed when the stream was first opened.
Diffstat (limited to 'drivers/tdfx_vid.c')
0 files changed, 0 insertions, 0 deletions