From d129c8ebd31e77fc773b66393f62fb85dc584f7e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 2 Apr 2024 11:54:52 -0400 Subject: [PATCH] clocksync: Proxy allocation queries Part-of: --- subprojects/gstreamer/plugins/elements/gstclocksync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gstreamer/plugins/elements/gstclocksync.c b/subprojects/gstreamer/plugins/elements/gstclocksync.c index 2fe1610230..0ede449905 100644 --- a/subprojects/gstreamer/plugins/elements/gstclocksync.c +++ b/subprojects/gstreamer/plugins/elements/gstclocksync.c @@ -221,6 +221,7 @@ gst_clock_sync_init (GstClockSync * clocksync) gst_pad_set_chain_list_function (clocksync->sinkpad, GST_DEBUG_FUNCPTR (gst_clock_sync_chain_list)); GST_PAD_SET_PROXY_CAPS (clocksync->sinkpad); + GST_PAD_SET_PROXY_ALLOCATION (clocksync->sinkpad); gst_element_add_pad (GST_ELEMENT (clocksync), clocksync->sinkpad); clocksync->srcpad = gst_pad_new_from_static_template (&srctemplate, "src"); @@ -228,6 +229,7 @@ gst_clock_sync_init (GstClockSync * clocksync) gst_pad_set_query_function (clocksync->srcpad, gst_clock_sync_src_query); GST_PAD_SET_PROXY_CAPS (clocksync->srcpad); + GST_PAD_SET_PROXY_ALLOCATION (clocksync->srcpad); gst_pad_set_event_function (clocksync->srcpad, GST_DEBUG_FUNCPTR (gst_clock_sync_src_event)); gst_element_add_pad (GST_ELEMENT (clocksync), clocksync->srcpad);