summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@collabora.com>2013-03-16 19:05:04 -0300
committerThibault Saunier <thibault.saunier@collabora.com>2013-03-18 12:48:41 -0300
commit0767f08c7aae21a6f8c07e7aa2ad5da6b9150d25 (patch)
tree1da0ffa4862967623653f75504e9f53607c5f852 /tools
parentdd50427714d38f11b29230592f445a3a998a0d5a (diff)
Always prefer gst_object_(un)ref over g_object_(un)ref
Making the refcount issue debugging easier
Diffstat (limited to 'tools')
-rw-r--r--tools/ges-launch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ges-launch.c b/tools/ges-launch.c
index dd54c19..d7ada14 100644
--- a/tools/ges-launch.c
+++ b/tools/ges-launch.c
@@ -231,7 +231,7 @@ create_timeline (int nbargs, gchar ** argv, gchar * audio, gchar * video)
build_failure:
{
- g_object_unref (timeline);
+ gst_object_unref (timeline);
return NULL;
}
}
@@ -290,9 +290,9 @@ create_pipeline (gchar * load_path, gchar * save_path, int argc, char **argv,
failure:
{
if (timeline)
- g_object_unref (timeline);
+ gst_object_unref (timeline);
if (pipeline)
- g_object_unref (pipeline);
+ gst_object_unref (pipeline);
return NULL;
}
}