|
From: <ren...@us...> - 2008-02-20 20:31:04
|
Revision: 925
http://gmyth.svn.sourceforge.net/gmyth/?rev=925&view=rev
Author: renatofilho
Date: 2008-02-20 12:30:13 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
fixex fps property
Modified Paths:
--------------
trunk/gmyth/configure.ac
trunk/gmyth-stream/gmencoder/src/gmencoder.c
Modified: trunk/gmyth/configure.ac
===================================================================
--- trunk/gmyth/configure.ac 2008-02-15 13:52:23 UTC (rev 924)
+++ trunk/gmyth/configure.ac 2008-02-20 20:30:13 UTC (rev 925)
@@ -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
Modified: trunk/gmyth-stream/gmencoder/src/gmencoder.c
===================================================================
--- trunk/gmyth-stream/gmencoder/src/gmencoder.c 2008-02-15 13:52:23 UTC (rev 924)
+++ trunk/gmyth-stream/gmencoder/src/gmencoder.c 2008-02-20 20:30:13 UTC (rev 925)
@@ -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) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|