From: Sreerenj Balachandran Date: Mon, 5 Nov 2012 12:35:56 +0000 (+0200) Subject: textoverlay: forward allocation queries on video sink pad instead of discarding them X-Git-Tag: 1.19.3~511^2~5775 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cbcca0bc5a32a47cfb85b8a3dcf17223dccbba2;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c index e81c47e..d106dc2 100644 --- a/ext/pango/gstbasetextoverlay.c +++ b/ext/pango/gstbasetextoverlay.c @@ -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 =