diff options
-rw-r--r-- | gst-libs/gst/rtp/gstrtpbasedepayload.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gst-libs/gst/rtp/gstrtpbasedepayload.c b/gst-libs/gst/rtp/gstrtpbasedepayload.c index cd2fd7618..811d4e607 100644 --- a/gst-libs/gst/rtp/gstrtpbasedepayload.c +++ b/gst-libs/gst/rtp/gstrtpbasedepayload.c @@ -1233,12 +1233,10 @@ read_rtp_header_extensions (GstRTPBaseDepayload * depayload, } if (ext) { - GST_OBJECT_LOCK (ext); if (!gst_rtp_header_extension_read (ext, ext_flags, &pdata[offset], read_len, output)) { GST_WARNING_OBJECT (depayload, "RTP header extension (%s) could " "not read payloaded data", GST_OBJECT_NAME (ext)); - GST_OBJECT_UNLOCK (ext); gst_object_unref (ext); goto out; } @@ -1247,7 +1245,6 @@ read_rtp_header_extensions (GstRTPBaseDepayload * depayload, needs_src_caps_update = TRUE; } - GST_OBJECT_UNLOCK (ext); gst_object_unref (ext); } GST_OBJECT_UNLOCK (depayload); |