summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2024-02-27 02:12:46 +0100
committerDudemanguy <random342@airmail.cc>2024-03-02 15:57:02 +0000
commitd6981a4cac43629fe95115f20d0009941482cc13 (patch)
treecc19d71c85568a817687ffd8b2f35b42a1aec976 /sub/osd.h
parentc8f1c822dcbe720f90e672ed9c084a1af3af7e97 (diff)
downloadmpv-d6981a4cac43629fe95115f20d0009941482cc13.tar.bz2
mpv-d6981a4cac43629fe95115f20d0009941482cc13.tar.xz
sub: add flag if sub_bitmap should be rendered in video color space
Diffstat (limited to 'sub/osd.h')
-rw-r--r--sub/osd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/osd.h b/sub/osd.h
index 39a88ea240..5fc268b5a6 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -74,6 +74,8 @@ struct sub_bitmaps {
int packed_w, packed_h;
int change_id; // Incremented on each change (0 is never used)
+
+ bool video_color_space; // True if the bitmap is in video color space
};
struct sub_bitmap_list {