textoverlay: don't abort if we don't know how to paint shaded background for a format

It's not a very nice thing to do.

https://bugzilla.gnome.org/show_bug.cgi?id=687666
This commit is contained in:
Tim-Philipp Müller 2012-11-06 23:38:13 +00:00
parent 5607b3a8b7
commit a53f0f382e

View file

@ -1684,7 +1684,9 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
ypos, ypos + overlay->image_height);
break;
default:
g_assert_not_reached ();
GST_FIXME_OBJECT (overlay, "implement background shading for format %s",
gst_video_format_to_string (GST_VIDEO_FRAME_FORMAT (&frame)));
break;
}
}