[Bug 777224] rtspsrc: unable to receive data using select-stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 23 15:17:52 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=777224

--- Comment #2 from Nicola <lists at svrinformatica.it> ---
what happen here is that when new data is received over tcp we have these
streams:

audio (no setup done):

stream id 0 channelpad[0] (nil) channel[0] 0 setup 0

video (setup done):

stream id 1 channelpad[0] 0x2259b70 channel[0] 0 setup 1

metadata (no setup done):

stream id 2 channelpad[0] (nil) channel[0] 0 setup 0

find_stream_by_channel here:

https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtsp/gstrtspsrc.c#n4372

is called with channel 0 and it returns the audio stream that have no outpad,

a quick solution is to check if setup is done in find_stream_by_channel

since find_stream_by_channel is used only for rtsp over tcp should not break
anything

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list