summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r--sub/dec_sub.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h
index 9c75506c4c..7ccf513438 100644
--- a/sub/dec_sub.h
+++ b/sub/dec_sub.h
@@ -60,6 +60,15 @@ typedef struct sub_bitmaps {
int bitmap_id, bitmap_pos_id;
} mp_eosd_images_t;
+struct sub_render_params {
+ double pts;
+ struct mp_eosd_res dim;
+ double normal_scale;
+ double vsfilter_scale;
+
+ bool support_rgba;
+};
+
static inline bool is_text_sub(int type)
{
return type == 't' || type == 'm' || type == 'a';