mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gstpay: only send one caps
Only send one caps in a packet. Two caps can happen when setcaps is called and the config-interval expires at the same time.
This commit is contained in:
parent
9ae6981578
commit
a065b4fcde
1 changed files with 3 additions and 0 deletions
|
@ -411,6 +411,9 @@ gst_rtp_gst_pay_send_caps (GstRtpGSTPay * rtpgstpay, guint8 cv, GstCaps * caps)
|
|||
guint capslen;
|
||||
GstBuffer *outbuf;
|
||||
|
||||
if (rtpgstpay->flags & (1 << 7))
|
||||
return;
|
||||
|
||||
capsstr = gst_caps_to_string (caps);
|
||||
capslen = strlen (capsstr);
|
||||
/* for 0 byte */
|
||||
|
|
Loading…
Reference in a new issue