mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 10:34:11 +00:00
textoverlay: forward allocation queries on video sink pad instead of discarding them
This allows the upstream elements to use the allocation parameters or pools from the downstream elements like videosink. https://bugzilla.gnome.org/show_bug.cgi?id=687459
This commit is contained in:
parent
6318a4602a
commit
6cbcca0bc5
1 changed files with 1 additions and 0 deletions
|
@ -622,6 +622,7 @@ gst_base_text_overlay_init (GstBaseTextOverlay * overlay,
|
|||
GST_DEBUG_FUNCPTR (gst_base_text_overlay_video_chain));
|
||||
gst_pad_set_query_function (overlay->video_sinkpad,
|
||||
GST_DEBUG_FUNCPTR (gst_base_text_overlay_video_query));
|
||||
GST_PAD_SET_PROXY_ALLOCATION (overlay->video_sinkpad);
|
||||
gst_element_add_pad (GST_ELEMENT (overlay), overlay->video_sinkpad);
|
||||
|
||||
template =
|
||||
|
|
Loading…
Reference in a new issue