gmyth-stream/gmencoder/src/gmencoder.c
branchtrunk
changeset 874 fc582534792b
parent 847 3c18c36245e7
child 888 f1af7f8cd7d9
     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	Thu Oct 25 22:08:12 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