rpms/farsight/F-9 farsight-darth-vader.patch, NONE, 1.1 farsight.spec, 1.23, 1.24

Brian Pepple (bpepple) fedora-extras-commits at redhat.com
Fri May 2 13:07:14 UTC 2008


Author: bpepple

Update of /cvs/pkgs/rpms/farsight/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31994

Modified Files:
	farsight.spec 
Added Files:
	farsight-darth-vader.patch 
Log Message:
* Fri May  2 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.1.27-2
- Add patch to fix speex voip to not sound like Dart Vader.


farsight-darth-vader.patch:

--- NEW FILE farsight-darth-vader.patch ---
--- plugins/rtp/rtpgstcodecs.c.orig	2008-05-02 11:56:09.000000000 +0100
+++ plugins/rtp/rtpgstcodecs.c	2008-05-02 11:57:22.000000000 +0100
@@ -2594,6 +2594,7 @@
     {
       if (is_payloader (walk->data))
       {
+        GstElement *filter;
         g_object_set (current_element, "pt", codec_association->codec->id,
             NULL);
         /* TODO find a better way to set the MTU, RTCP perhaps? */
@@ -2601,8 +2602,14 @@
         /* FIXME please don't hardcode me */
         g_object_set (current_element, "max_ptime", 20 * GST_MSECOND, NULL);
 
-        /* let's create our bin src ghostpad and link it to the payloader */
-        if (!create_ghost_pad (current_element, "src", codec_bin)) {
+        filter = gst_element_factory_make("capsfilter", NULL);
+        g_object_set (filter, "caps",
+          farsight_codec_to_gst_caps (codec_association->codec), NULL);
+        gst_bin_add (GST_BIN(codec_bin), filter);
+        gst_element_link (current_element, filter);
+
+        /* let's create our bin src ghostpad and link it to the filter */
+        if (!create_ghost_pad (filter, "src", codec_bin)) {
           g_warning ("Could not create payloader src ghost pad on the codec_bin"
               " for payload type %d", codec_id);
           gst_object_unref (codec_bin);


Index: farsight.spec
===================================================================
RCS file: /cvs/pkgs/rpms/farsight/F-9/farsight.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- farsight.spec	2 May 2008 00:32:40 -0000	1.23
+++ farsight.spec	2 May 2008 13:06:36 -0000	1.24
@@ -3,7 +3,7 @@
 
 Name:		farsight
 Version:	0.1.27
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A audio/video conferencing framework
 
 Group:		System Environment/Libraries
@@ -11,6 +11,7 @@
 URL:		http://farsight.freedesktop.org/wiki/
 Source0:	http://farsight.freedesktop.org/releases/farsight/farsight-%{version}.tar.gz
 Patch0:		%{name}-0.1.26-gcc43.patch
+Patch1:		%{name}-darth-vader.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gstreamer-devel >= %{gstreamer_ver}
@@ -52,6 +53,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .gcc43
+%patch1 -p0 -b .vader
 
 %build
 %configure --disable-static		\
@@ -103,6 +105,9 @@
 
 
 %changelog
+* Fri May  2 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.1.27-2
+- Add patch to fix speex voip to not sound like Dart Vader.
+
 * Tue Apr 22 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.1.27-1
 - Update to 0.1.27.
 




More information about the scm-commits mailing list