# HG changeset patch # User renatofilho # Date 1199731762 0 # Node ID f1af7f8cd7d9566199f865fd8500d45760e8db01 # Parent 9434eecdece932bbbc534913643406f2d71b4a94 [svn r894] removed hardcode bitrate; diff -r 9434eecdece9 -r f1af7f8cd7d9 gmyth-stream/gmencoder/debian/changelog --- a/gmyth-stream/gmencoder/debian/changelog Fri Jan 04 16:46:07 2008 +0000 +++ b/gmyth-stream/gmencoder/debian/changelog Mon Jan 07 18:49:22 2008 +0000 @@ -1,3 +1,15 @@ +gmencoder (0.2-indt1) gutsy; urgency=low + + * Bugs fix + + -- Hallyson Melo Wed, 07 Jan 2008 10:35:00 -0300 + +gmencoder (0.1-indt1) gutsy; urgency=low + + * release 11/21/2007 + + -- Hallyson Melo Wed, 17 Sep 2007 17:12:00 -0300 + gmencoder (0.1-indt1) unstable; urgency=low * Initial release diff -r 9434eecdece9 -r f1af7f8cd7d9 gmyth-stream/gmencoder/src/gmencoder.c --- a/gmyth-stream/gmencoder/src/gmencoder.c Fri Jan 04 16:46:07 2008 +0000 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Mon Jan 07 18:49:22 2008 +0000 @@ -308,7 +308,6 @@ goto error; } - g_object_set(G_OBJECT(aencode), "bitrate", 32, NULL); /* * if (rate > 0) { g_object_set (G_OBJECT (aencode), "bitrate", 32, * NULL); } @@ -371,7 +370,7 @@ GstElement *vcolorspace = NULL; GstElement *vencode = NULL; GstElement *vrate = NULL; - GstElement *deinterlace = NULL; + GstElement *deinterlace = NULL; GstElement *walk = NULL; GstPad *vpad = NULL; @@ -382,8 +381,8 @@ if (use_deinterlace) { deinterlace = gst_element_factory_make ("ffdeinterlace", "deinterlace"); - if (deinterlace == NULL) { - g_warning ("Fail to create deinterlace element: Continue without deinterlace."); + if (deinterlace == NULL) { + g_warning ("Fail to create deinterlace element: Continue without deinterlace."); } } @@ -414,11 +413,10 @@ if ((width > 0) && (height > 0)) { // Scalling video GstCaps *vcaps; - GstElement *vscale = - gst_element_factory_make("videoscale", "vscale"); + GstElement *vscale; - g_object_set (G_OBJECT (vscale), "method", 1, NULL); - + vscale = gst_element_factory_make("videoscale", "vscale"); + //g_object_set (G_OBJECT (vscale), "method", 1, NULL); gst_bin_add(GST_BIN(vbin), vscale); vcaps = gst_caps_new_simple("video/x-raw-yuv",