mpv/player
wm4 4e25feda0d player: change aspects of cover art handling
Cover art handling is a disgusting hack that causes a mess in all
components. And this will stay this way. This is the Xth time I've
changed cover art handling, and that will probably also continue.

But change the code such that cover art is injected into the demux
packet stream, instead of having an explicit special case it in the
decoder glue code. (This is somewhat more similar to the cover art hack
in libavformat.)

To avoid that the over art picture is decoded again on each seek, we
need some additional "caching" in player/video.c. Decoding it after each
seek would work as well, but since cover art pictures can be pretty
huge, it's probably ok to invest some lines of code into caching it.

One weird thing is that the cover art packet will remain queued after
seeks, but that is probably not an issue.

In exchange, we can drop the dec_video.c code, which is pretty
convenient for one of the following commits. This code duplicates a
bunch of lower-level decode calls and does icky messing with this weird
state stuff, so I'm glad it goes away.
2017-01-10 15:43:02 +01:00
..
lua osc: bottombar/topbar: make chapter markers slightly bigger 2016-12-25 15:44:11 +00:00
audio.c audio: stop being dumb 2017-01-08 14:47:53 +01:00
client.c client API: handle missing MPV_FORMAT_BYTE_ARRAY case in compare_value 2017-01-09 13:38:17 +01:00
client.h client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
command.c command: remove worthless error handling code 2017-01-09 13:39:38 +01:00
command.h options: slightly better option update mechanism 2016-09-19 19:51:26 +02:00
configfiles.c player: fix previous commit 2016-10-03 17:16:02 +02:00
core.h player: change aspects of cover art handling 2017-01-10 15:43:02 +01:00
external_files.c ta: remove old and redundant macro 2016-05-17 10:53:14 +02:00
external_files.h
lavfi.c lavfi: shut up false positive compiler warnings 2016-04-26 19:38:51 +02:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c player: remove dysfunctional edition switching OSD code 2017-01-05 00:07:28 +01:00
lua.c client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
main.c Update copyright year 2017-01-01 19:09:05 +01:00
misc.c player: litter code with explicit wakeup calls 2016-09-16 14:39:45 +02:00
osd.c player: remove dysfunctional edition switching OSD code 2017-01-05 00:07:28 +01:00
playloop.c client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
screenshot.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
screenshot.h
scripting.c scripting: don't attempt to load builtin scripts twice 2016-09-26 16:49:35 +02:00
sub.c player: enable no-video subtitle display on coverart too 2016-10-31 13:55:32 +01:00
video.c player: change aspects of cover art handling 2017-01-10 15:43:02 +01:00