diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-04 05:15:27 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-01-22 14:54:55 +0000 |
commit | 47be5ad4aaa20df4bb1577110198d5aab3c88925 (patch) | |
tree | 6829c9e597217dd2b928e3e5f474adcbf0eadc06 /video/sws_utils.c | |
parent | 0ac7a40dac2411cf9be429f611b8966560bb3f0c (diff) | |
download | mpv-47be5ad4aaa20df4bb1577110198d5aab3c88925.tar.bz2 mpv-47be5ad4aaa20df4bb1577110198d5aab3c88925.tar.xz |
csputils: replace mp_chroma_location with pl_chroma_location
Diffstat (limited to 'video/sws_utils.c')
-rw-r--r-- | video/sws_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/sws_utils.c b/video/sws_utils.c index 9844dd62eb..a07bb55424 100644 --- a/video/sws_utils.c +++ b/video/sws_utils.c @@ -309,8 +309,8 @@ int mp_sws_reinit(struct mp_sws_context *ctx) av_opt_set_double(ctx->sws, "param0", ctx->params[0], 0); av_opt_set_double(ctx->sws, "param1", ctx->params[1], 0); - int cr_src = mp_chroma_location_to_av(src.chroma_location); - int cr_dst = mp_chroma_location_to_av(dst.chroma_location); + int cr_src = pl_chroma_to_av(src.chroma_location); + int cr_dst = pl_chroma_to_av(dst.chroma_location); int cr_xpos, cr_ypos; #if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57, 37, 100) if (av_chroma_location_enum_to_pos(&cr_xpos, &cr_ypos, cr_src) >= 0) { |