mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
deinterlace: remove avoidable call to gst_object_set_name
This commit is contained in:
parent
41116224c8
commit
dcd493279d
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue