1.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c Tue Sep 18 13:45:36 2007 +0100
1.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Mon Oct 08 19:23:42 2007 +0100
1.3 @@ -887,7 +887,11 @@
1.4 if (src == NULL)
1.5 goto error;
1.6
1.7 - decode = gst_element_factory_make("decodebin2", "decode");
1.8 +
1.9 + if (g_getenv ("USE_DECODEBIN1"))
1.10 + decode = gst_element_factory_make("decodebin", "decode");
1.11 + else
1.12 + decode = gst_element_factory_make("decodebin2", "decode");
1.13 if (decode == NULL)
1.14 goto error;
1.15