[svn r925] fixex fps property trunk
authorrenatofilho
Wed Feb 20 20:30:13 2008 +0000 (2008-02-20)
branchtrunk
changeset 91639d46bc373eb
parent 915 e612ba1d16ab
child 917 be87d28e8371
[svn r925] fixex fps property
gmyth-stream/gmencoder/src/gmencoder.c
gmyth/configure.ac
     1.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c	Fri Feb 15 13:52:23 2008 +0000
     1.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c	Wed Feb 20 20:30:13 2008 +0000
     1.3 @@ -469,7 +469,7 @@
     1.4          GstElement     *vscale;
     1.5  
     1.6          vscale = gst_element_factory_make("videoscale", "vscale");
     1.7 -        //g_object_set (G_OBJECT (vscale), "method", 1, NULL);
     1.8 +        g_object_set (G_OBJECT (vscale), "method", 1, NULL);
     1.9          gst_bin_add(GST_BIN(vbin), vscale);
    1.10  
    1.11          vcaps = gst_caps_new_simple("video/x-raw-yuv",
    1.12 @@ -491,6 +491,7 @@
    1.13  
    1.14      if (fps > 0) {
    1.15          // Changing the video fps
    1.16 +        g_debug ("Changing FPS TO : %5.2f", fps);
    1.17          GstCaps        *vcaps;
    1.18          vrate = gst_element_factory_make("videorate", "vrate");
    1.19  
    1.20 @@ -503,7 +504,7 @@
    1.21  
    1.22          vcaps = gst_caps_new_simple("video/x-raw-yuv",
    1.23                                      "framerate", GST_TYPE_FRACTION,
    1.24 -                                    (int) (fps * 1000), 1000,
    1.25 +                                    (int) fps, 1,
    1.26                                      NULL);
    1.27  
    1.28          if (gst_element_link_filtered(vrate, vencode, vcaps) == FALSE) {
     2.1 --- a/gmyth/configure.ac	Fri Feb 15 13:52:23 2008 +0000
     2.2 +++ b/gmyth/configure.ac	Wed Feb 20 20:30:13 2008 +0000
     2.3 @@ -8,12 +8,6 @@
     2.4  AC_CONFIG_SRCDIR([src/gmyth.h])
     2.5  AC_CONFIG_HEADER(config.h)
     2.6  
     2.7 -dnl when going to/from release please set the nano (fourth number) right !
     2.8 -dnl releases only do Wall, SVN and prerelease does Werror too
     2.9 -AS_VERSION(gmyth, GMYTH, 0, 7, 0, 0, GMYTH_SVN="no", GMYTH_SVN="yes")
    2.10 -GMYTH_MAJORMINOR=$GMYTH_MAJOR_VERSION.$GMYTH_MINOR_VERSION
    2.11 -AC_SUBST(GMYTH_MAJORMINOR)
    2.12 -
    2.13  dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode
    2.14  AM_MAINTAINER_MODE
    2.15  dnl make aclocal work in maintainer mode