Commit 8db0cc43 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

pango: adjust to modified video overlay composition API

parent 89228e91
......@@ -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);
......
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