Commit 3d006f6d authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

rtpbasepayload: assume input caps are accepted if subclass has no set_caps vfunc

Not that anyone should ascribe too much meaning to these return
values in the age of sticky caps.
parent 3dd7e1f3
......@@ -358,6 +358,8 @@ gst_rtp_base_payload_sink_event_default (GstRTPBasePayload * rtpbasepayload,
rtpbasepayload_class = GST_RTP_BASE_PAYLOAD_GET_CLASS (rtpbasepayload);
if (rtpbasepayload_class->set_caps)
res = rtpbasepayload_class->set_caps (rtpbasepayload, caps);
res = TRUE;
gst_event_unref (event);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment