diff -r 3c18c36245e7 -r 48cf27f814b7 gmyth-stream/gmencoder/src/gmencoder.c --- a/gmyth-stream/gmencoder/src/gmencoder.c Tue Sep 18 13:45:36 2007 +0100 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Thu Oct 25 15:38:08 2007 +0100 @@ -887,7 +887,11 @@ if (src == NULL) goto error; - decode = gst_element_factory_make("decodebin2", "decode"); + + if (g_getenv ("USE_DECODEBIN1")) + decode = gst_element_factory_make("decodebin", "decode"); + else + decode = gst_element_factory_make("decodebin2", "decode"); if (decode == NULL) goto error;