summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Conchillo FlaquƩ <aconchillo@gmail.com>2016-06-29 14:23:56 (GMT)
committerRobert Swain <robert.swain@ericsson.com>2016-06-29 14:29:49 (GMT)
commit477bb0790ab0ab855601025fd004c4e68f039199 (patch)
treed2977a4c858b20f67b321e371ead45dc557a56ae
parentf40f3302007da00f0bfb82065d705b62c2ea1afd (diff)
downloadopenwebrtc-gst-plugins-477bb0790ab0ab855601025fd004c4e68f039199.tar.gz
openwebrtc-gst-plugins-477bb0790ab0ab855601025fd004c4e68f039199.tar.xz
screamqueue: add missing clock unref
Closes #52.
-rw-r--r--gst/scream/gstscreamqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/scream/gstscreamqueue.c b/gst/scream/gstscreamqueue.c
index e8d2f51..2b52084 100644
--- a/gst/scream/gstscreamqueue.c
+++ b/gst/scream/gstscreamqueue.c
@@ -706,6 +706,7 @@ static guint64 get_gst_time_us(GstScreamQueue *self)
clock = gst_element_get_clock(GST_ELEMENT(self));
if (G_LIKELY(clock)) {
time = gst_clock_get_time(clock);
+ gst_object_unref (clock);
}
return time / 1000;
}