Commit eb9750d9 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

textoverlay: enable shaded background drawing for new IYU2 format

parent abb88801
...@@ -2160,6 +2160,7 @@ gst_base_text_overlay_shade_background (GstBaseTextOverlay * overlay, ...@@ -2160,6 +2160,7 @@ gst_base_text_overlay_shade_background (GstBaseTextOverlay * overlay,
case GST_VIDEO_FORMAT_UYVY: case GST_VIDEO_FORMAT_UYVY:
case GST_VIDEO_FORMAT_YUY2: case GST_VIDEO_FORMAT_YUY2:
case GST_VIDEO_FORMAT_v308: case GST_VIDEO_FORMAT_v308:
case GST_VIDEO_FORMAT_IYU2:
gst_base_text_overlay_shade_packed_Y (overlay, frame, x0, x1, y0, y1); gst_base_text_overlay_shade_packed_Y (overlay, frame, x0, x1, y0, y1);
break; break;
case GST_VIDEO_FORMAT_xRGB: case GST_VIDEO_FORMAT_xRGB:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment