mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vd_lavc: respect lavc's color_trc field
We now actually use the TRC tagging information lavc provides us with, instead of always manually guessing.
This commit is contained in:
@@ -203,6 +203,8 @@ enum mp_csp_levels avcol_range_to_mp_csp_levels(int avrange);
|
||||
|
||||
enum mp_csp_prim avcol_pri_to_mp_csp_prim(int avpri);
|
||||
|
||||
enum mp_csp_trc avcol_trc_to_mp_csp_trc(int avtrc);
|
||||
|
||||
int mp_csp_to_avcol_spc(enum mp_csp colorspace);
|
||||
|
||||
int mp_csp_levels_to_avcol_range(enum mp_csp_levels range);
|
||||
|
||||
Reference in New Issue
Block a user