1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/common
wm4 0a7c5a130e video: properly pass through ICC data
The same should happen with any other side data that matters to mpv,
otherwise filters will drop it.

(No, don't try to argue that mpv should use AVFrame. That won't work.)

ffmpeg_garbage() is copy&paste from frame_new_side_data() in FFmpeg
(roughly feed201849b8f91), because it's not public API. The name
reflects my opinion about FFmpeg's API.

In mp_image_to_av_frame(), change the too-fragile

  *new_ref = (struct mp_image){0};

into explicitly zeroing out the fields that are "transferred" to the
created AVFrame.
2017-10-16 16:36:51 +02:00
..
av_common.c video: properly pass through ICC data 2017-10-16 16:36:51 +02:00
av_common.h video: properly pass through ICC data 2017-10-16 16:36:51 +02:00
av_log.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
av_log.h player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
codecs.c options: drop deprecated --vd/--ad codecs selection features 2017-01-19 15:38:58 +01:00
codecs.h options: deprecate codec family selection in --vd/--ad 2016-12-23 18:12:29 +01:00
common.c vo_opengl: further GL API use separation 2017-08-07 19:17:28 +02:00
common.h player: fix --lavfi-complex freeze 2017-08-11 21:29:35 +02:00
encode_lavc.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
encode_lavc.h encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
encode.h encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
global.h m_config: introduce basic mechanism to synchronize global option updates 2016-09-02 15:50:40 +02:00
msg_control.h player: make sure version information is always included in --log-file 2017-05-22 18:31:39 +02:00
msg.c msg: make --msg-level affect --log-file too 2017-10-04 22:08:19 +02:00
msg.h msg.c/h: partially change license to LGPL 2017-05-05 06:53:23 +02:00
playlist.c playlist: improve shuffle algorithm 2016-03-20 19:51:22 +01:00
playlist.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
recorder.c player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
recorder.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
tags.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.h player: filter tags, add --display-tags option 2014-12-29 22:51:18 +01:00
version.c common: use char array for version string 2016-09-06 20:08:44 +02:00