overlaycomposition: set sink pad to proxy allocation queries

This commit is contained in:
Aaron Boxer 2019-09-19 15:12:25 -06:00 committed by Nicolas Dufresne
parent 3b552cc05a
commit 5a2a1ea240

View file

@ -159,6 +159,7 @@ gst_overlay_composition_init (GstOverlayComposition * self)
GST_DEBUG_FUNCPTR (gst_overlay_composition_sink_event));
gst_pad_set_query_function (self->sinkpad,
GST_DEBUG_FUNCPTR (gst_overlay_composition_sink_query));
GST_PAD_SET_PROXY_ALLOCATION (self->sinkpad);
gst_element_add_pad (GST_ELEMENT (self), self->sinkpad);
self->srcpad = gst_pad_new_from_static_template (&src_template, "src");