textoverlay: support shaded background for A420 format

https://bugzilla.gnome.org/show_bug.cgi?id=687817
This commit is contained in:
Tim-Philipp Müller 2012-12-22 21:18:11 +00:00
parent df186d5240
commit df8e7f14a8

View file

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