projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae6981
)
gstpay: only send one caps
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 4 Nov 2013 14:46:22 +0000
(15:46 +0100)
committer
Wim Taymans
<wim.taymans@gmail.com>
Wed, 13 Nov 2013 11:02:57 +0000
(12:02 +0100)
Only send one caps in a packet. Two caps can happen when setcaps is called and
the config-interval expires at the same time.
gst/rtp/gstrtpgstpay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpgstpay.c
b/gst/rtp/gstrtpgstpay.c
index
669654c
..
016cefe
100644
(file)
--- a/
gst/rtp/gstrtpgstpay.c
+++ b/
gst/rtp/gstrtpgstpay.c
@@
-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 */