From a0fa0ff8bf3374ca6504cbce0f322d1e1dbaec11 Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Wed, 29 Sep 2010 16:53:21 +0200 Subject: [PATCH] basertpdepay: ensure metadata is writable --- gst-libs/gst/rtp/gstbasertpdepayload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/rtp/gstbasertpdepayload.c b/gst-libs/gst/rtp/gstbasertpdepayload.c index 3bee2ab..6c9723a 100644 --- a/gst-libs/gst/rtp/gstbasertpdepayload.c +++ b/gst-libs/gst/rtp/gstbasertpdepayload.c @@ -339,6 +339,7 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in) /* we detected a seqnum discont but the buffer was not flagged with a discont, * set the discont flag so that the subclass can throw away old data. */ priv->discont = TRUE; + in = gst_buffer_make_metadata_writable (in); GST_BUFFER_FLAG_SET (in, GST_BUFFER_FLAG_DISCONT); } -- 2.7.4