mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
playbasebin: remove avoidable call to gst_object_set_name
This commit is contained in:
parent
133a0b1771
commit
54be243757
1 changed files with 1 additions and 2 deletions
|
@ -797,10 +797,9 @@ gen_preroll_element (GstPlayBaseBin * play_base_bin,
|
|||
g_return_if_reached ();
|
||||
|
||||
/* create stream selector */
|
||||
selector = g_object_new (GST_TYPE_STREAM_SELECTOR, NULL);
|
||||
padname = gst_pad_get_name (pad);
|
||||
name = g_strdup_printf ("selector_%s_%s", prename, padname);
|
||||
gst_object_set_name (GST_OBJECT_CAST (selector), name);
|
||||
selector = g_object_new (GST_TYPE_STREAM_SELECTOR, "name", name, NULL);
|
||||
g_free (name);
|
||||
|
||||
/* create preroll queue */
|
||||
|
|
Loading…
Reference in a new issue