mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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.
This commit is contained in:
parent
3dd7e1f3c4
commit
3d006f6d2a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
else
|
||||
res = TRUE;
|
||||
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue