From f33a90615769806582e6ae34054015c5a0c32c56 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sat, 24 Oct 2009 14:29:33 +0100 Subject: [PATCH] resindvd: Set the new initial-identity property on autoconvert https://bugzilla.gnome.org/show_bug.cgi?id=599469 --- ext/resindvd/rsndec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/resindvd/rsndec.c b/ext/resindvd/rsndec.c index 3abc0065c7..7db1e46eb3 100644 --- a/ext/resindvd/rsndec.c +++ b/ext/resindvd/rsndec.c @@ -277,7 +277,8 @@ 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), "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)) ret = GST_STATE_CHANGE_FAILURE; break;