Update and fix the default properties for vp8enc

This commit is contained in:
Debarshi Ray 2012-10-24 18:54:51 +02:00
parent 9a4939ee49
commit 59d94b6845
2 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,39 @@
From 097387c6c59ca410ae1f00427ba31d619a585215 Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@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

View File

@ -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@fedoraproject.org> - 0.2.1-2
- Update and fix the default properties for vp8enc
* Thu Oct 4 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.1-1
- Update to 0.2.1