[Bug 737868] rtspsrc: make sure source pads have always the right caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Oct 5 22:55:52 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=737868
  GStreamer | gst-plugins-good | git

--- Comment #3 from Aleix Conchillo Flaqué <aconchillo at gmail.com> 2014-10-06 05:55:47 UTC ---
For some reason that I still not understand, a query caps is not propagated and
"notify::caps" from session->recv_rtp_sink (caps_changed callback in rtpbin.c)
never happens. Because we have the srtp decoder which would return 
application/x-rtp and that is not returned, we end up in request_pt_map in
rtspsrc which returns the caps from the stream (application/x-srtp) and those
will be always wrong when dealing with SRTP.

My guess is something related to the internalsrc_%u pads. But I can't see
what's wrong.

So, my questions are:

(1) Why query caps is not propagated so srtpdec returns application/x-rtp and
"notify::caps" is emitted?

(2) Is (1) always supposed to work? If so, why do we need to implement
request_pt_map in the rtspsrc? I assume it's not suppose to always work...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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