mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +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 ();
|
g_return_if_reached ();
|
||||||
|
|
||||||
/* create stream selector */
|
/* create stream selector */
|
||||||
selector = g_object_new (GST_TYPE_STREAM_SELECTOR, NULL);
|
|
||||||
padname = gst_pad_get_name (pad);
|
padname = gst_pad_get_name (pad);
|
||||||
name = g_strdup_printf ("selector_%s_%s", prename, padname);
|
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);
|
g_free (name);
|
||||||
|
|
||||||
/* create preroll queue */
|
/* create preroll queue */
|
||||||
|
|
Loading…
Reference in a new issue