mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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;
|
guint capslen;
|
||||||
GstBuffer *outbuf;
|
GstBuffer *outbuf;
|
||||||
|
|
||||||
|
if (rtpgstpay->flags & (1 << 7))
|
||||||
|
return;
|
||||||
|
|
||||||
capsstr = gst_caps_to_string (caps);
|
capsstr = gst_caps_to_string (caps);
|
||||||
capslen = strlen (capsstr);
|
capslen = strlen (capsstr);
|
||||||
/* for 0 byte */
|
/* for 0 byte */
|
||||||
|
|
Loading…
Reference in a new issue