mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtspsrc: only expose streams on dataflow
Only probe on buffers, we don't want to expose the streams on events.
This commit is contained in:
parent
3b497bf7d5
commit
e7c8fa1127
1 changed files with 2 additions and 1 deletions
|
@ -3452,7 +3452,8 @@ gst_rtspsrc_stream_configure_udp (GstRTSPSrc * src, GstRTSPStream * stream,
|
|||
* configure all the streams to let the application autoplug decoders. */
|
||||
stream->blockid =
|
||||
gst_pad_add_probe (stream->blockedpad,
|
||||
GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, pad_blocked, src, NULL);
|
||||
GST_PAD_PROBE_TYPE_BLOCK | GST_PAD_PROBE_TYPE_BUFFER |
|
||||
GST_PAD_PROBE_TYPE_BUFFER_LIST, pad_blocked, src, NULL);
|
||||
|
||||
if (stream->channelpad[0]) {
|
||||
GST_DEBUG_OBJECT (src, "connecting UDP source 0 to manager");
|
||||
|
|
Loading…
Reference in a new issue