1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00
mpv/player
wm4 33b57f5557 player: improve audio time display
This commit fixes a "cosmetic" user interface issue. Instead of
displaying the interpolated seek time on OSD, show the actual audio
time.

This is rather silly: when seeking in audio-only mode, it takes some
iterations until audio is "ready", but on the other hand, the audio
state machine is rather fickle, and fixing this cosmetic issue would be
intrusive. So just add a hack that paints over the ugly behavior as
perceived by the user. Probably the lesser evil.

It doesn't happen if video is enabled, because that mode sets the
current time immediately to video PTS. (Audio has to be synced to video,
so the code is a bit more complex.)

Fixes #1233.
2014-11-08 16:09:42 +01:00
..
lua osc: make text squuezing layout dependent 2014-10-24 01:56:15 +02:00
timeline player: always use demux_chapter 2014-11-02 17:29:41 +01:00
audio.c player: improve audio time display 2014-11-08 16:09:42 +01:00
client.c client: remove redundant assignment 2014-11-07 16:21:03 +01:00
client.h command: finish hook execution if client fails 2014-10-24 21:57:02 +02:00
command.c command: silence a warning on win32 2014-11-08 10:24:26 +01:00
command.h command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
configfiles.c options: don't load per-file config files by default 2014-10-17 02:55:31 +02:00
core.h player: always use demux_chapter 2014-11-02 17:29:41 +01:00
discnav.c sd_lavc: strictly letter-box PGS subtitles 2014-10-21 11:37:32 +02:00
loadfile.c player: fix --secondary-sid 2014-11-04 18:53:36 +01:00
lua.c lua: subprocess: fix dumb 2014-10-26 01:52:31 +02:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c player: improve exit message in some scenarios 2014-10-31 00:51:52 +01:00
misc.c player: don't display zero duration for files with unknown duration 2014-10-29 21:54:59 +01:00
osd.c osd: properly wakeup when the OSD function disappears 2014-11-01 17:32:34 +01:00
playloop.c command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h
scripting.c osdep: limit thread names to 16 characters 2014-10-20 00:17:11 +02:00
sub.c sub: remove osd_get_sub() 2014-11-01 00:02:01 +01:00
video.c player: print anamorphic size only if video is anamorphic 2014-11-02 17:34:02 +01:00