summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-04-30 17:37:33 (GMT)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-04-30 17:38:40 (GMT)
commited71d802fc39e1a5f902ea3f56e42f9470a0b8aa (patch)
tree1c148e9c29e40a9ac20f9301689205f88bca3bc2
parentf9ca4f60975121f73a0683466bb7dae035cd42e3 (diff)
basertpdepayload: ensure writable metadata
-rw-r--r--gst-libs/gst/rtp/gstbasertpdepayload.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/rtp/gstbasertpdepayload.c b/gst-libs/gst/rtp/gstbasertpdepayload.c
index 920f0a9..4dca0ca 100644
--- a/gst-libs/gst/rtp/gstbasertpdepayload.c
+++ b/gst-libs/gst/rtp/gstbasertpdepayload.c
@@ -486,6 +486,9 @@ gst_base_rtp_depayload_push_full (GstBaseRTPDepayload * filter,
priv = filter->priv;
+ /* almost certainly required */
+ out_buf = gst_buffer_make_metadata_writable (out_buf);
+
/* set the caps if any */
srccaps = GST_PAD_CAPS (filter->srcpad);
if (G_LIKELY (srccaps))