1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/sub
wm4 27715b7dd1 video: move colorspace overrides to vf_format, simplify
Remove the colorspace-related top-level options, add them to vf_format.
They are rather obscure and not needed often, so it's better to get them
out of the way. In particular, this gets rid of the semi-complicated
logic in command.c (most of which was needed for OSD display and the
direct feedback from the VO). It removes the duplicated color-related
name mappings.

This removes the ability to write the colormatrix and related
properties. Since filters can be changed at runtime, there's no loss of
functionality, except that you can't cycle automatically through the
color constants anymore (but who needs to do this).

This also changes the type of the mp_csp_names and related variables, so
they can directly be used with OPT_CHOICE. This probably ended up a bit
awkward, for the sake of not adding a new option type which would have
used the previous format.
2015-03-31 00:09:03 +02:00
..
ass_mp.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
ass_mp.h sub: move mp_ass_configure() code 2015-02-24 15:49:26 +01:00
dec_sub.c sub: this isn't needed either 2015-03-03 15:19:33 +01:00
dec_sub.h
draw_bmp.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
find_subfiles.c find_subfiles: Add 'vtt' to subtitle extensions 2015-02-18 21:12:55 +01:00
find_subfiles.h player: add external audio file auto-loading 2015-02-02 21:23:12 +01:00
img_convert.c video: uninline memcpy_pic functions 2015-03-20 00:21:23 +01:00
img_convert.h
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c osd: force alignment for OSD bar 2015-02-24 14:40:06 +01:00
osd_state.h osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
osd.c vo_opengl: draw subtitles directly onto the video 2015-03-26 00:04:03 +01:00
osd.h vo_opengl: draw subtitles directly onto the video 2015-03-26 00:04:03 +01:00
sd_ass.c video: move colorspace overrides to vf_format, simplify 2015-03-31 00:09:03 +02:00
sd_lavc_conv.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_lavc.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
sd_lavf_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_microdvd.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_movtext.c
sd_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd.h sub: this isn't needed either 2015-03-03 15:19:33 +01:00