rsndec: Don't use the initial-identity property on autoconvert
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 7 Dec 2011 12:48:53 +0000 (13:48 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 7 Dec 2011 12:50:19 +0000 (13:50 +0100)
It was removed, see bug #599469, #665205

ext/resindvd/rsndec.c

index fb9f1f9..8d7e380 100644 (file)
@@ -277,8 +277,7 @@ rsn_dec_change_state (GstElement * element, GstStateChange transition)
 
       new_child = gst_element_factory_make ("autoconvert", NULL);
       decoder_factories = klass->get_decoder_factories (klass);
-      g_object_set (G_OBJECT (new_child), "initial-identity", TRUE,
-          "factories", decoder_factories, NULL);
+      g_object_set (G_OBJECT (new_child), "factories", decoder_factories, NULL);
       if (new_child == NULL || !rsn_dec_set_child (self, new_child))
         ret = GST_STATE_CHANGE_FAILURE;
       break;