# HG changeset patch # User renatofilho # Date 1203539413 0 # Node ID 39d46bc373eb93332940067847ec7074c504684a # Parent e612ba1d16ab3d1e4d723c0bea25bde0f5d12aa4 [svn r925] fixex fps property diff -r e612ba1d16ab -r 39d46bc373eb gmyth-stream/gmencoder/src/gmencoder.c --- a/gmyth-stream/gmencoder/src/gmencoder.c Fri Feb 15 13:52:23 2008 +0000 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Wed Feb 20 20:30:13 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) { diff -r e612ba1d16ab -r 39d46bc373eb gmyth/configure.ac --- a/gmyth/configure.ac Fri Feb 15 13:52:23 2008 +0000 +++ b/gmyth/configure.ac Wed Feb 20 20:30:13 2008 +0000 @@ -8,12 +8,6 @@ AC_CONFIG_SRCDIR([src/gmyth.h]) AC_CONFIG_HEADER(config.h) -dnl when going to/from release please set the nano (fourth number) right ! -dnl releases only do Wall, SVN and prerelease does Werror too -AS_VERSION(gmyth, GMYTH, 0, 7, 0, 0, GMYTH_SVN="no", GMYTH_SVN="yes") -GMYTH_MAJORMINOR=$GMYTH_MAJOR_VERSION.$GMYTH_MINOR_VERSION -AC_SUBST(GMYTH_MAJORMINOR) - dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode AM_MAINTAINER_MODE dnl make aclocal work in maintainer mode