summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-03-14 17:48:40 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-03-14 17:48:40 +0100
commit0a8a8aac5204985f78693b84587f7cc44b82ee91 (patch)
tree558ab99061ecda0345705f60ea3699715ebbdfa5
parentcb6b590b0c183ddea19959ede286ba215fd30839 (diff)
downloadgstreamer-plugins-bad-0a8a8aac5204985f78693b84587f7cc44b82ee91.tar.gz
mpeg2enc: also clear initialized mutex and cond
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc
index 4e8eaaccd..f504be53b 100644
--- a/ext/mpeg2enc/gstmpeg2enc.cc
+++ b/ext/mpeg2enc/gstmpeg2enc.cc
@@ -152,6 +152,8 @@ gst_mpeg2enc_finalize (GObject * object)
delete enc->options;
g_queue_free (enc->time);
+ g_mutex_clear (&enc->tlock);
+ g_cond_clear (&enc->cond);
G_OBJECT_CLASS (parent_class)->finalize (object);
}