resindvd: Set the new initial-identity property on autoconvert

https://bugzilla.gnome.org/show_bug.cgi?id=599469
This commit is contained in:
Jan Schmidt 2009-10-24 14:29:33 +01:00
parent 32ebb79f0b
commit f33a906157

View file

@ -277,7 +277,8 @@ 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), "factories", decoder_factories, NULL); g_object_set (G_OBJECT (new_child), "initial-identity", TRUE,
"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;