summaryrefslogtreecommitdiffstats
path: root/stream/stream_tv.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-06-12 11:26:22 +0000
committerUoti Urpala <uau@mplayer2.org>2011-07-06 13:01:07 +0300
commitcfe1af72af0ca2a92257ef542209be61709ac34f (patch)
treeb7aebae3c6c313ad6f59cebf988878622d7b379d /stream/stream_tv.c
parent9f6ba7a63d52270ea0c82ef7baf9c3694f2c1b45 (diff)
downloadmpv-cfe1af72af0ca2a92257ef542209be61709ac34f.tar.bz2
mpv-cfe1af72af0ca2a92257ef542209be61709ac34f.tar.xz
cache: allow STREAM_CTRL_GET_CURRENT_TIME with cache
Change code to allow STREAM_CTRL_GET_CURRENT_TIME with cache enabled. Due to that time being from what is currently read into the cache it is unfortunately somewhat inaccurate and unsmooth, however for streams that do have stream timestamps it is till a lot better than going by the demuxer alone. In particular it fixes bug #1081, when starting a DVD with -chapter following seeks would be relative to the start of the DVD instead of the current position. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33605 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_tv.c')
0 files changed, 0 insertions, 0 deletions