summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-04 05:15:27 +0100
committerDudemanguy <random342@airmail.cc>2024-01-22 14:54:55 +0000
commit47be5ad4aaa20df4bb1577110198d5aab3c88925 (patch)
tree6829c9e597217dd2b928e3e5f474adcbf0eadc06 /sub/draw_bmp.c
parent0ac7a40dac2411cf9be429f611b8966560bb3f0c (diff)
downloadmpv-47be5ad4aaa20df4bb1577110198d5aab3c88925.tar.bz2
mpv-47be5ad4aaa20df4bb1577110198d5aab3c88925.tar.xz
csputils: replace mp_chroma_location with pl_chroma_location
Diffstat (limited to 'sub/draw_bmp.c')
-rw-r--r--sub/draw_bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/draw_bmp.c b/sub/draw_bmp.c
index cf214401a8..9052922115 100644
--- a/sub/draw_bmp.c
+++ b/sub/draw_bmp.c
@@ -680,7 +680,7 @@ static bool reinit_to_video(struct mp_draw_sub_cache *p)
p->video_overlay->params.repr.alpha = PL_ALPHA_PREMULTIPLIED;
if (p->scale_in_tiles)
- p->video_overlay->params.chroma_location = MP_CHROMA_CENTER;
+ p->video_overlay->params.chroma_location = PL_CHROMA_CENTER;
p->rgba_to_overlay = alloc_scaler(p);
p->rgba_to_overlay->allow_zimg = true;