summaryrefslogtreecommitdiffstats
path: root/ext/libmms
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libmms')
-rw-r--r--ext/libmms/gstmms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index 89e4e572..5bd47472 100644
--- a/ext/libmms/gstmms.c
+++ b/ext/libmms/gstmms.c
@@ -215,7 +215,7 @@ gst_mms_src_query (GstPad * pad, GstQuery * query)
break;
}
- g_object_unref (mmssrc);
+ gst_object_unref (mmssrc);
return res;
}
@@ -279,7 +279,7 @@ gst_mms_create (GstPushSrc * psrc, GstBuffer ** buf)
if (!gst_pad_send_event (peer, gst_event_new_eos ())) {
ret = GST_FLOW_ERROR;
}
- g_object_unref (peer);
+ gst_object_unref (peer);
goto done;
}