summaryrefslogtreecommitdiff
path: root/ext/ttml/subtitle.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ttml/subtitle.h')
-rw-r--r--ext/ttml/subtitle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ttml/subtitle.h b/ext/ttml/subtitle.h
index 6724cc6d6..cf67fd4ef 100644
--- a/ext/ttml/subtitle.h
+++ b/ext/ttml/subtitle.h
@@ -353,6 +353,12 @@ typedef enum {
* @overflow: Defines what should happen if text and background rectangles
* generated by rendering text blocks overflow the size of their containing
* region. Applies only to #GstSubtitleRegions.
+ * @fill_line_gap: Controls whether the rendered backgrounds of text elements
+ * in a line fill the whole space between that line and adjacent lines or
+ * extends only to the font height of the text in the individual elements (thus
+ * this field controls whether or not there are gaps between backgrounds
+ * through which the underlying video can be seen). Applies only to
+ * #GstSubtitleBlocks.
*
* Holds a set of attributes that describes the styling and layout that apply
* to #GstSubtitleRegion, #GstSubtitleBlock and/or #GstSubtitleElement objects.
@@ -391,6 +397,7 @@ struct _GstSubtitleStyleSet
GstSubtitleWritingMode writing_mode;
GstSubtitleBackgroundMode show_background;
GstSubtitleOverflowMode overflow;
+ gboolean fill_line_gap;
/*< private >*/
gpointer _gst_reserved[GST_PADDING];