Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2012 05:57:37 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306994 - in head/multimedia/recordmydesktop: . files
Message-ID:  <201211050557.qA55vbFU038969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Mon Nov  5 05:57:37 2012
New Revision: 306994
URL: http://svnweb.freebsd.org/changeset/ports/306994

Log:
  Fix recording with libtheora.
  
  Feature safe:	yes

Added:
  head/multimedia/recordmydesktop/files/patch-rmd_initialize_data.c   (contents, props changed)
  head/multimedia/recordmydesktop/files/patch-rmd_parseargs.c   (contents, props changed)
Modified:
  head/multimedia/recordmydesktop/Makefile

Modified: head/multimedia/recordmydesktop/Makefile
==============================================================================
--- head/multimedia/recordmydesktop/Makefile	Mon Nov  5 03:35:21 2012	(r306993)
+++ head/multimedia/recordmydesktop/Makefile	Mon Nov  5 05:57:37 2012	(r306994)
@@ -2,7 +2,7 @@
 
 PORTNAME=	recordmydesktop
 DISTVERSION=	0.3.8.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia
 MASTER_SITES=	SF
 

Added: head/multimedia/recordmydesktop/files/patch-rmd_initialize_data.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/recordmydesktop/files/patch-rmd_initialize_data.c	Mon Nov  5 05:57:37 2012	(r306994)
@@ -0,0 +1,11 @@
+--- src/rmd_initialize_data.c.orig	2012-11-05 13:28:29.000000000 +0800
++++ src/rmd_initialize_data.c	2012-11-05 13:28:57.000000000 +0800
+@@ -224,7 +224,7 @@
+     args->channels             = 1;
+     args->frequency            = 22050;
+     args->buffsize             = 4096;
+-    args->v_bitrate            = 45000;
++    args->v_bitrate            = 0;
+     args->v_quality            = 63;
+     args->s_quality            = 10;
+ 

Added: head/multimedia/recordmydesktop/files/patch-rmd_parseargs.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/recordmydesktop/files/patch-rmd_parseargs.c	Mon Nov  5 05:57:37 2012	(r306994)
@@ -0,0 +1,34 @@
+--- src/rmd_parseargs.c.orig	2012-11-05 13:37:13.000000000 +0800
++++ src/rmd_parseargs.c	2012-11-05 13:40:07.000000000 +0800
+@@ -106,8 +106,8 @@
+     "\t--v_quality n\t\tA number from 0 to 63 for"
+     " desired encoded video quality(default 63).\n"
+ 
+-    "\t--v_bitrate n\t\tA number from 45000 to 2000000"
+-    " for desired encoded video bitrate(default 45000).\n"
++    "\t--v_bitrate n\t\tA number from 0 to 2000000"
++    " for desired encoded video bitrate(default 0).\n"
+ 
+     "\t--s_quality n\t\tDesired audio quality(-1 to 10).\n\n"
+ 
+@@ -327,17 +327,17 @@
+                  strcmp(argv[i], "-v_bitrate")  == 0) {
+             if(i+1<argc){
+                 int num=atoi(argv[i+1]);
+-                if((num>=45000)&&(num<=2000000))
++                if((num>=0)&&(num<=2000000))
+                     arg_return->v_bitrate=num;
+                 else{
+                     fprintf(stderr,"Argument Usage:"
+-                                   " --v_bitrate n(number 45000-2000000)\n");
++                                   " --v_bitrate n(number 0-2000000)\n");
+                     return FALSE;
+                 }
+             }
+             else{
+                 fprintf(stderr,"Argument Usage:"
+-                               " --v_bitrate n(number 45000-2000000)\n");
++                               " --v_bitrate n(number 0-2000000)\n");
+                 return FALSE;
+             }
+             i++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211050557.qA55vbFU038969>