mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
pango: adjust to modified video overlay composition API
This commit is contained in:
parent
89228e911c
commit
8db0cc4350
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue