mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
splitmuxsink: add probe on the multiqueue's sink pad instead of the ghost pad
because _release_pad tries to release it from ctx->sinkpad, which is multiqueue's sink pad, and currently fails because the probe is not installed there
This commit is contained in:
parent
caa255d2ed
commit
1954726328
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ gst_splitmux_sink_request_new_pad (GstElement * element,
|
||||||
|
|
||||||
mq_stream_ctx_ref (ctx);
|
mq_stream_ctx_ref (ctx);
|
||||||
ctx->sink_pad_block_id =
|
ctx->sink_pad_block_id =
|
||||||
gst_pad_add_probe (res, GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM,
|
gst_pad_add_probe (mq_sink, GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM,
|
||||||
(GstPadProbeCallback) handle_mq_input, ctx, (GDestroyNotify)
|
(GstPadProbeCallback) handle_mq_input, ctx, (GDestroyNotify)
|
||||||
_pad_block_destroy_sink_notify);
|
_pad_block_destroy_sink_notify);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue