summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2012-11-05 14:35:56 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-11-05 13:27:56 +0000
commit6cbcca0bc5a32a47cfb85b8a3dcf17223dccbba2 (patch)
tree042e08fea43dd638d301dd7dcbc112e97d92a3f3
parent6318a4602a7474a5e7b258216fb751d4d21beca1 (diff)
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
-rw-r--r--ext/pango/gstbasetextoverlay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c
index e81c47ecc..d106dc247 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 =