[svn r894] removed hardcode bitrate; trunk
authorrenatofilho
Mon Jan 07 18:49:22 2008 +0000 (2008-01-07)
branchtrunk
changeset 888f1af7f8cd7d9
parent 887 9434eecdece9
child 889 83851e17c385
[svn r894] removed hardcode bitrate;
gmyth-stream/gmencoder/debian/changelog
gmyth-stream/gmencoder/src/gmencoder.c
     1.1 --- a/gmyth-stream/gmencoder/debian/changelog	Fri Jan 04 16:46:07 2008 +0000
     1.2 +++ b/gmyth-stream/gmencoder/debian/changelog	Mon Jan 07 18:49:22 2008 +0000
     1.3 @@ -1,3 +1,15 @@
     1.4 +gmencoder (0.2-indt1) gutsy; urgency=low
     1.5 +
     1.6 +  * Bugs fix
     1.7 +
     1.8 + -- Hallyson Melo <hallyson.melo@indt.org.br>  Wed, 07 Jan 2008 10:35:00 -0300
     1.9 +
    1.10 +gmencoder (0.1-indt1) gutsy; urgency=low
    1.11 +
    1.12 +  * release 11/21/2007
    1.13 +
    1.14 + -- Hallyson Melo <hallyson.melo@indt.org.br>  Wed, 17 Sep 2007 17:12:00 -0300
    1.15 +
    1.16  gmencoder (0.1-indt1) unstable; urgency=low
    1.17  
    1.18    * Initial release
     2.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c	Fri Jan 04 16:46:07 2008 +0000
     2.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c	Mon Jan 07 18:49:22 2008 +0000
     2.3 @@ -308,7 +308,6 @@
     2.4          goto error;
     2.5      }
     2.6  
     2.7 -    g_object_set(G_OBJECT(aencode), "bitrate", 32, NULL);
     2.8      /*
     2.9       * if (rate > 0) { g_object_set (G_OBJECT (aencode), "bitrate", 32,
    2.10       * NULL); } 
    2.11 @@ -371,7 +370,7 @@
    2.12      GstElement     *vcolorspace = NULL;
    2.13      GstElement     *vencode = NULL;
    2.14      GstElement     *vrate = NULL;
    2.15 -    GstElement	   *deinterlace = NULL;
    2.16 +    GstElement     *deinterlace = NULL;
    2.17      GstElement     *walk = NULL;
    2.18      GstPad         *vpad = NULL;
    2.19  
    2.20 @@ -382,8 +381,8 @@
    2.21  
    2.22      if (use_deinterlace) {
    2.23          deinterlace = gst_element_factory_make ("ffdeinterlace", "deinterlace");
    2.24 -	    if (deinterlace == NULL) {
    2.25 -	        g_warning ("Fail to create deinterlace element: Continue without deinterlace.");
    2.26 +        if (deinterlace == NULL) {
    2.27 +           g_warning ("Fail to create deinterlace element: Continue without deinterlace.");
    2.28          }
    2.29      }
    2.30  
    2.31 @@ -414,11 +413,10 @@
    2.32      if ((width > 0) && (height > 0)) {
    2.33          // Scalling video
    2.34          GstCaps        *vcaps;
    2.35 -        GstElement     *vscale =
    2.36 -            gst_element_factory_make("videoscale", "vscale");
    2.37 +        GstElement     *vscale;
    2.38  
    2.39 -	g_object_set (G_OBJECT (vscale), "method", 1, NULL);
    2.40 -
    2.41 +        vscale = gst_element_factory_make("videoscale", "vscale");
    2.42 +        //g_object_set (G_OBJECT (vscale), "method", 1, NULL);
    2.43          gst_bin_add(GST_BIN(vbin), vscale);
    2.44  
    2.45          vcaps = gst_caps_new_simple("video/x-raw-yuv",