mpv/player
wm4 e11abdbad2 player: flush decoder even if cover art is decoded
Fixes PNG cover art not showing up immediately (for example when running
with --pause).

libavformat exports embedded cover art as a single packet. For example,
a PNG attachment simply contains the PNG image, which can be sent to the
decoder. Normally you would expect that the PNG decoder would return 1
frame for 1 packet, without any delays. But this stopped working, and it
incurs a 1 frame delay.

This is perfectly legal (even if unexpected), so let our code feed the
decoder packets until we get something back. (In theory feeding the
packet instead of a real flush packet is still somewhat questionable.)
2015-04-24 23:27:12 +02:00
..
lua osc: add nil check for element.eventresponder 2015-04-23 22:08:07 +02:00
audio.c Update license headers 2015-04-13 12:10:01 +02:00
client.c client API: add glue for making full use of mpv_command_node() 2015-04-20 23:00:12 +02:00
client.h vo_opengl_cb: don't render OSD while VO is not created 2015-03-23 16:32:59 +01:00
command.c command: demuxer-cache-time property 2015-04-21 13:53:25 +02:00
command.h client API: add glue for making full use of mpv_command_node() 2015-04-20 23:00:12 +02:00
configfiles.c player: do not load encoding config files in non-encoding mode 2015-04-21 21:53:24 +02:00
core.h player: cleanup update_fps() function 2015-04-20 23:26:48 +02:00
discnav.c command: disc-mouse-on-button property 2015-04-21 00:54:29 +09:00
loadfile.c Update license headers 2015-04-13 12:10:01 +02:00
lua.c lua: add utils.format_json() function 2015-04-22 20:55:05 +02:00
main-fn-unix.c win32: use a platform-specific unicode entry-point 2015-04-11 14:27:25 +10:00
main-fn-win.c main-fn-win: fix handle validity check for XP 2015-04-11 14:35:50 +10:00
main.c Update license headers 2015-04-13 12:10:01 +02:00
misc.c Update license headers 2015-04-13 12:10:01 +02:00
osd.c Update license headers 2015-04-13 12:10:01 +02:00
playloop.c demux_mkv: move global options to the demuxer 2015-04-23 19:21:17 +02:00
screenshot.c client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
screenshot.h client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
scripting.c scripting: fix/improve deprecation message 2014-12-15 06:24:05 +01:00
sub.c Update license headers 2015-04-13 12:10:01 +02:00
video.c player: flush decoder even if cover art is decoded 2015-04-24 23:27:12 +02:00