wtay gst-plugins-bad: gst-plugins-bad/ gst-plugins-bad/gst/rtpmanager/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-bad
Changes by:     wtay
Date:           Sat Nov 22 2008  13:17:38 UTC

Log message:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
Also unref the target pad for unknown pads.

Modified files:
    .               : ChangeLog
    gst/rtpmanager  : gstrtpbin.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3724&r2=1.3725
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpbin.c.diff?r1=1.62&r2=1.63

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v
retrieving revision 1.3724
retrieving revision 1.3725
diff -u -d -r1.3724 -r1.3725
--- ChangeLog	22 Nov 2008 08:23:16 -0000	1.3724
+++ ChangeLog	22 Nov 2008 13:17:23 -0000	1.3725
@@ -1,3 +1,8 @@
+2008-11-22  Wim Taymans  <[email protected]>
+
+	* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
+	Also unref the target pad for unknown pads.
 2008-11-22  Sebastian Dröge  <[email protected]>
 
 	* gst/dccp/gstdccp.c: (gst_dccp_socket_write):
Index: gstrtpbin.c
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpbin.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- gstrtpbin.c	21 Nov 2008 16:17:22 -0000	1.62
+++ gstrtpbin.c	22 Nov 2008 13:17:24 -0000	1.63
@@ -2452,7 +2452,6 @@
   } else if (session->send_rtcp_src == target) {
     remove_rtcp (rtpbin, session, pad);
   }
-
   GST_RTP_BIN_UNLOCK (rtpbin);
   gst_object_unref (target);
@@ -2463,6 +2462,7 @@
 unknown_pad:
   {
     GST_RTP_BIN_UNLOCK (rtpbin);
+    gst_object_unref (target);
     g_warning ("gstrtpbin: %s:%s is not one of our request pads",
         GST_DEBUG_PAD_NAME (pad));
     return;

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.