summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorRené Stadler <rene.stadler@collabora.co.uk>2011-10-21 22:32:38 +0200
committerRené Stadler <rene.stadler@collabora.co.uk>2011-10-21 22:32:38 +0200
commitdcd493279d691b0e34cb2288b394f82edc71929d (patch)
tree7ef660cf7333634257be651c9820110fb1d8aec2 /gst
parent41116224c88162e2fa8d6c9e7631a7e31a68f138 (diff)
downloadgstreamer-plugins-good-dcd493279d691b0e34cb2288b394f82edc71929d.tar.gz
deinterlace: remove avoidable call to gst_object_set_name
Diffstat (limited to 'gst')
-rw-r--r--gst/deinterlace/gstdeinterlace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index 4e1b48869..8e505a8eb 100644
--- a/gst/deinterlace/gstdeinterlace.c
+++ b/gst/deinterlace/gstdeinterlace.c
@@ -392,10 +392,9 @@ gst_deinterlace_set_method (GstDeinterlace * self, GstDeinterlaceMethods method)
g_assert (method_type != G_TYPE_INVALID);
}
- self->method = g_object_new (method_type, NULL);
+ self->method = g_object_new (method_type, "name", "method", NULL);
self->method_id = method;
- gst_object_set_name (GST_OBJECT (self->method), "method");
gst_object_set_parent (GST_OBJECT (self->method), GST_OBJECT (self));
gst_child_proxy_child_added (GST_OBJECT (self), GST_OBJECT (self->method));