diff -r d2d226b5a4bd -r 00536b0eb88b gmyth-stream/gmencoder/src/gmencoder.c --- a/gmyth-stream/gmencoder/src/gmencoder.c Fri Feb 01 14:30:21 2008 +0000 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Mon Feb 25 18:40:34 2008 +0000 @@ -469,7 +469,7 @@ GstElement *vscale; vscale = gst_element_factory_make("videoscale", "vscale"); - //g_object_set (G_OBJECT (vscale), "method", 1, NULL); + 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", @@ -491,6 +491,7 @@ if (fps > 0) { // Changing the video fps + g_debug ("Changing FPS TO : %5.2f", fps); GstCaps *vcaps; vrate = gst_element_factory_make("videorate", "vrate"); @@ -503,7 +504,7 @@ vcaps = gst_caps_new_simple("video/x-raw-yuv", "framerate", GST_TYPE_FRACTION, - (int) (fps * 1000), 1000, + (int) fps, 1, NULL); if (gst_element_link_filtered(vrate, vencode, vcaps) == FALSE) {