summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-10 23:20:42 +0100
committerwm4 <wm4@nowhere>2012-12-11 00:37:55 +0100
commit3f949cf50b5067f2fa18b1a2bbdfdd62a0d0ffdd (patch)
treee8e8193f23f498854a47c22de8bd71fc91d98635 /stream/stream_lavf.c
parent4a40eeda941717b1a3d60d22c0c1020ea9c2038d (diff)
downloadmpv-3f949cf50b5067f2fa18b1a2bbdfdd62a0d0ffdd.tar.bz2
mpv-3f949cf50b5067f2fa18b1a2bbdfdd62a0d0ffdd.tar.xz
mplayer: prefer audio PTS over video PTS for status line
This slightly improves display of the current playback time in files with sparse video packets (like video tracks containing a slow MJPG slideshows as in [1]), or audio files with cover art image attachments. While the video PTS is always "stuck" at the last frame displayed or the last seek, audio is usually continuous. Given sane samplerates and working audio drivers (to query how much of the current audio buffer has been played), the audio PTS should always be more reliable. [1] http://www.podtrac.com/pts/redirect.mp3/traffic.libsyn.com/rtpodcast/Rooster_Teeth_Podcast_191.m4a
Diffstat (limited to 'stream/stream_lavf.c')
0 files changed, 0 insertions, 0 deletions