summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-13 15:48:26 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-13 16:48:31 +0200
commit642ce15ef770dd5dbea7c7ee16cbf45f6e86feae (patch)
tree5613aa04b5b9186b0a52612a4f0eb9164bb60742 /DOCS/man
parent1a336d6616c92c7e3a73500f6b4bb7b95e1268c2 (diff)
downloadmpv-642ce15ef770dd5dbea7c7ee16cbf45f6e86feae.tar.bz2
mpv-642ce15ef770dd5dbea7c7ee16cbf45f6e86feae.tar.xz
core: give pts as parameter to demuxer_get_current_chapter()
demuxer_get_current_chapter() accessed sh_video/sh_audio pts fields to determine playback position. demux layer shouldn't access those and the values used weren't quite correct anyway. Give the playback position as a parameter to the demux layer function instead. Also change the top-level get_current_chapter() to use get_current_time() in the timeline case where it didn't refer to demux layer.
Diffstat (limited to 'DOCS/man')
0 files changed, 0 insertions, 0 deletions