mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
rsndec: Don't use the initial-identity property on autoconvert
It was removed, see bug #599469, #665205
This commit is contained in:
parent
dcf04269e1
commit
780d774a5d
1 changed files with 1 additions and 2 deletions
|
@ -277,8 +277,7 @@ rsn_dec_change_state (GstElement * element, GstStateChange transition)
|
||||||
|
|
||||||
new_child = gst_element_factory_make ("autoconvert", NULL);
|
new_child = gst_element_factory_make ("autoconvert", NULL);
|
||||||
decoder_factories = klass->get_decoder_factories (klass);
|
decoder_factories = klass->get_decoder_factories (klass);
|
||||||
g_object_set (G_OBJECT (new_child), "initial-identity", TRUE,
|
g_object_set (G_OBJECT (new_child), "factories", decoder_factories, NULL);
|
||||||
"factories", decoder_factories, NULL);
|
|
||||||
if (new_child == NULL || !rsn_dec_set_child (self, new_child))
|
if (new_child == NULL || !rsn_dec_set_child (self, new_child))
|
||||||
ret = GST_STATE_CHANGE_FAILURE;
|
ret = GST_STATE_CHANGE_FAILURE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue