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
@ -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…
x
Reference in New Issue
Block a user