[farstream02] Update and fix the default properties for vp8enc

Debarshi Ray rishi at fedoraproject.org
Wed Oct 24 17:31:19 UTC 2012


commit 59d94b684505fcc211bf5a0f399aa06baf3758cf
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Wed Oct 24 18:54:51 2012 +0200

    Update and fix the default properties for vp8enc

 ...and-fix-the-default-properties-for-vp8enc.patch |   39 ++++++++++++++++++++
 farstream02.spec                                   |    7 +++-
 2 files changed, 45 insertions(+), 1 deletions(-)
---
diff --git a/0001-Update-and-fix-the-default-properties-for-vp8enc.patch b/0001-Update-and-fix-the-default-properties-for-vp8enc.patch
new file mode 100644
index 0000000..057d488
--- /dev/null
+++ b/0001-Update-and-fix-the-default-properties-for-vp8enc.patch
@@ -0,0 +1,39 @@
+From 097387c6c59ca410ae1f00427ba31d619a585215 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir at freedesktop.org>
+Date: Wed, 24 Oct 2012 17:54:08 +0200
+Subject: [PATCH] Update and fix the default properties for vp8enc
+
+The property names of the vp8enc element changed in GStreamer 1.0. See
+the following commits from gst-plugins-good for some of the
+corresponding changes:
+  - 392bd12a45b959b696365e5f25e315c2489fe025
+  - 9c0ff2f38174f2e4111859bd66956a77764cb515
+
+Also, vp8enc uses target-bitrate, not bitrate.
+---
+ gst/fsrtpconference/default-element-properties | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/gst/fsrtpconference/default-element-properties b/gst/fsrtpconference/default-element-properties
+index aad237d..fb8b62b 100644
+--- a/gst/fsrtpconference/default-element-properties
++++ b/gst/fsrtpconference/default-element-properties
+@@ -37,10 +37,11 @@ rtp-payload-size=1
+ bitrate=256
+ 
+ [vp8enc]
+-bitrate=256000
+-max-latency=1
+-speed=2
+-error-resilient=true
++target-bitrate=256000
++deadline=1
++cpu-used=4
++lag-in-frames=0
++error-resilient=1
+ 
+ [rtppcmupay]
+ ptime-multiple=20000000
+-- 
+1.7.12.1
+
diff --git a/farstream02.spec b/farstream02.spec
index ba1e430..2893ec4 100644
--- a/farstream02.spec
+++ b/farstream02.spec
@@ -4,13 +4,14 @@
 
 Name:           %{far}02
 Version:        0.2.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Libraries for videoconferencing
 
 # Package is LGPLv2 except for a few files in /common/coverage/
 License:        LGPLv2+ and GPLv2+
 URL:            http://www.freedesktop.org/wiki/Software/Farstream
 Source0:        http://freedesktop.org/software/%{far}/releases/%{far}/%{far}-%{version}.tar.gz
+Patch0:         0001-Update-and-fix-the-default-properties-for-vp8enc.patch
 
 BuildRequires:  libnice-devel >= 0.1.3
 BuildRequires:  gstreamer1-devel >= %{gst_ver}
@@ -44,6 +45,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q -n %{far}-%{version}
+%patch0 -p1
 
 
 %build
@@ -97,6 +99,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %changelog
+* Wed Oct 24 2012 Debarshi Ray <rishi at fedoraproject.org> - 0.2.1-2
+- Update and fix the default properties for vp8enc
+
 * Thu Oct  4 2012 Brian Pepple <bpepple at fedoraproject.org> - 0.2.1-1
 - Update to 0.2.1
 


More information about the scm-commits mailing list