diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-13 15:48:26 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-13 16:48:31 +0200 |
commit | 642ce15ef770dd5dbea7c7ee16cbf45f6e86feae (patch) | |
tree | 5613aa04b5b9186b0a52612a4f0eb9164bb60742 /cpuinfo.c | |
parent | 1a336d6616c92c7e3a73500f6b4bb7b95e1268c2 (diff) | |
download | mpv-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 'cpuinfo.c')
0 files changed, 0 insertions, 0 deletions