]> git.sesse.net Git - vlc/blobdiff - modules/codec/substext.h
mediacodec: Handle VC1
[vlc] / modules / codec / substext.h
index 68e6c6139c9e17864b5b57e01f19e64d0576de0d..fe5df95350e3ac0cb4ccdbb4d5aa2dcd17939026 100644 (file)
@@ -10,6 +10,7 @@ struct subpicture_updater_sys_t {
     bool is_fixed;
     int  fixed_width;
     int  fixed_height;
+    bool renderbg;
 };
 
 static int SubpictureTextValidate(subpicture_t *subpic,
@@ -60,6 +61,7 @@ static void SubpictureTextUpdate(subpicture_t *subpic,
     r->psz_text = sys->text ? strdup(sys->text) : NULL;
     r->psz_html = sys->html ? strdup(sys->html) : NULL;
     r->i_align  = sys->align;
+    r->b_renderbg = sys->renderbg;
     if (!sys->is_fixed) {
         const float margin_ratio = 0.04;
         const int   margin_h     = margin_ratio * fmt_dst->i_visible_width;