[Pkg-telepathy-commits] ./packages/unstable/farsight r63: Actually remove the deprecated farsight patch
Sjoerd Simons
sjoerd at luon.net
Wed Aug 6 12:56:10 UTC 2008
------------------------------------------------------------
revno: 63
committer: Sjoerd Simons <sjoerd at luon.net>
branch nick: farsight
timestamp: Thu 2008-06-05 16:13:43 +0100
message:
Actually remove the deprecated farsight patch
removed:
patches/00_rtppayloader_caps.patch
-------------- next part --------------
=== removed file 'patches/00_rtppayloader_caps.patch'
--- a/patches/00_rtppayloader_caps.patch 2008-04-25 18:42:30 +0000
+++ b/patches/00_rtppayloader_caps.patch 1970-01-01 00:00:00 +0000
@@ -1,31 +0,0 @@
-Mon Apr 21 00:38:45 CEST 2008 Sjoerd Simons <sjoerd at luon.net>
- * Add a capsfilter of the end of a sending codec bin to enforse the output has the right parameters
-diff -rN -u old-farsight/plugins/rtp/rtpgstcodecs.c new-farsight/plugins/rtp/rtpgstcodecs.c
---- old-farsight/plugins/rtp/rtpgstcodecs.c 2008-04-25 20:40:00.000000000 +0200
-+++ new-farsight/plugins/rtp/rtpgstcodecs.c 2008-04-25 20:40:00.000000000 +0200
-@@ -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);
-
More information about the Pkg-telepathy-commits
mailing list