gmyth-stream/gmencoder/src/gmencoder.c
branchtrunk
changeset 880 22df7edb6e37
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 Nov 15 20:33:59 2007 +0000
     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