textoverlay: support shaded background for A420 format
authorTim-Philipp Müller <tim@centricular.net>
Sat, 22 Dec 2012 21:18:11 +0000 (21:18 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 22 Dec 2012 21:18:11 +0000 (21:18 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=687817

ext/pango/gstbasetextoverlay.c

index 627ee62..da19ef7 100644 (file)
@@ -1653,6 +1653,7 @@ gst_base_text_overlay_shade_background (GstBaseTextOverlay * overlay,
     case GST_VIDEO_FORMAT_YUV9:
     case GST_VIDEO_FORMAT_YVU9:
     case GST_VIDEO_FORMAT_GRAY8:
+    case GST_VIDEO_FORMAT_A420:
       gst_base_text_overlay_shade_planar_Y (overlay, frame, x0, x1, y0, y1);
       break;
     case GST_VIDEO_FORMAT_AYUV: