mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
audiobuffersplit: Install srcpad query function on the srcpad, not the sinkpad
This commit is contained in:
parent
b8b2946e03
commit
971a481a8c
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ gst_audio_buffer_split_init (GstAudioBufferSplit * self)
|
|||
gst_element_add_pad (GST_ELEMENT (self), self->sinkpad);
|
||||
|
||||
self->srcpad = gst_pad_new_from_static_template (&src_template, "src");
|
||||
gst_pad_set_query_function (self->sinkpad,
|
||||
gst_pad_set_query_function (self->srcpad,
|
||||
GST_DEBUG_FUNCPTR (gst_audio_buffer_split_src_query));
|
||||
GST_PAD_SET_PROXY_CAPS (self->srcpad);
|
||||
gst_pad_use_fixed_caps (self->srcpad);
|
||||
|
|
Loading…
Reference in a new issue