[Pkg-gstreamer-commits] [gst-plugins-good1.0] 01/01: Add patch to fix rptmux caps negotiation

Sjoerd Simons sjoerd at moszumanska.debian.org
Fri Oct 24 18:58:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

sjoerd pushed a commit to branch master
in repository gst-plugins-good1.0.

commit 0252d232d695c8aa9ef60eae1caedf0598fd437e
Author: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Date:   Fri Oct 17 22:36:17 2014 +0200

    Add patch to fix rptmux caps negotiation
    
    debian/patches/rtpmux-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch
      + Added. Fix caps negotation in the rtpmux element, fixes Empathy
        voice calls (Closes: #760964) (From upstream git)
---
 debian/changelog                                   |  8 ++++++
 ...-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch | 32 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 41 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 71adf95..8c30d58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gst-plugins-good1.0 (1.4.3-2) unstable; urgency=medium
+
+  * debian/patches/rtpmux-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch
+    + Added. Fix caps negotation in the rtpmux element, fixes Empathy voice
+      calls (Closes: #760964) (From upstream git)
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Fri, 17 Oct 2014 22:35:46 +0200
+
 gst-plugins-good1.0 (1.4.3-1) unstable; urgency=medium
 
   * New upstream bugfix release.
diff --git a/debian/patches/rtpmux-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch b/debian/patches/rtpmux-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch
new file mode 100644
index 0000000..4c17821
--- /dev/null
+++ b/debian/patches/rtpmux-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch
@@ -0,0 +1,32 @@
+From 0ee384b251ae6ee4ac18210f3a0555898543de5f Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd at luon.net>
+Date: Fri, 17 Oct 2014 22:23:27 +0200
+Subject: [PATCH] rtpmux: Don't set PROXY_CAPS flag on the src pad
+
+rtpmux behaves like a funnel in that it forwards whatever upstream is
+sending buffers. So setting proxy caps doesn't make sense as the
+upstream don't have to have compatible caps, thus resulting in an empty
+caps set as a result of a caps query. Instead set fixed caps just
+as funnel does.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=738722
+---
+ gst/rtpmanager/gstrtpmux.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/rtpmanager/gstrtpmux.c b/gst/rtpmanager/gstrtpmux.c
+index 77c2a5c..5cddd04 100644
+--- a/gst/rtpmanager/gstrtpmux.c
++++ b/gst/rtpmanager/gstrtpmux.c
+@@ -245,7 +245,7 @@ gst_rtp_mux_init (GstRTPMux * rtp_mux)
+           "src"), "src");
+   gst_pad_set_event_function (rtp_mux->srcpad,
+       GST_DEBUG_FUNCPTR (gst_rtp_mux_src_event));
+-  GST_PAD_SET_PROXY_CAPS (rtp_mux->srcpad);
++  gst_pad_use_fixed_caps (rtp_mux->srcpad);
+   gst_element_add_pad (GST_ELEMENT (rtp_mux), rtp_mux->srcpad);
+ 
+   rtp_mux->ssrc = DEFAULT_SSRC;
+-- 
+2.1.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..03a77e8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+rtpmux-Don-t-set-PROXY_CAPS-flag-on-the-src-pad.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gst-plugins-good1.0.git



More information about the Pkg-gstreamer-commits mailing list