pango: adjust to modified video overlay composition API

This commit is contained in:
Mark Nauwelaerts 2012-08-30 12:09:47 +02:00
parent 89228e911c
commit 8db0cc4350

View file

@ -1235,7 +1235,7 @@ gst_base_text_overlay_set_composition (GstBaseTextOverlay * overlay)
gst_buffer_add_video_meta (overlay->text_image, GST_VIDEO_FRAME_FLAG_NONE,
GST_VIDEO_OVERLAY_COMPOSITION_FORMAT_RGB,
overlay->image_width, overlay->image_height);
rectangle = gst_video_overlay_rectangle_new_argb (overlay->text_image,
rectangle = gst_video_overlay_rectangle_new_raw (overlay->text_image,
xpos, ypos, overlay->image_width, overlay->image_height,
GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA);