CVS Root: /cvs/gstreamer
Module: gst-plugins-bad
Changes by: wtay
Date: Fri Nov 21 2008 16:17:36 UTC
Log message:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
Release the right pads on rtpbin. Fixes #561752.
Modified files:
. : ChangeLog
gst/rtpmanager : gstrtpbin.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3722&r2=1.3723
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpbin.c.diff?r1=1.61&r2=1.62
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v
retrieving revision 1.3722
retrieving revision 1.3723
diff -u -d -r1.3722 -r1.3723
--- ChangeLog 21 Nov 2008 15:45:13 -0000 1.3722
+++ ChangeLog 21 Nov 2008 16:17:20 -0000 1.3723
@@ -1,3 +1,10 @@
+2008-11-21 Wim Taymans <[email protected]>
+
+ Patch by: Olivier Crete <tester at tester dot ca>
+ * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
+ Release the right pads on rtpbin. Fixes #561752.
2008-11-21 Sebastian Dröge <[email protected]>
* gst/speexresample/gstspeexresample.c:
Index: gstrtpbin.c
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpbin.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- gstrtpbin.c 19 Nov 2008 09:06:28 -0000 1.61
+++ gstrtpbin.c 21 Nov 2008 16:17:22 -0000 1.62
@@ -2429,28 +2429,34 @@
{
GstRtpBinSession *session;
GstRtpBin *rtpbin;
+ GstPad *target = NULL;
- g_return_if_fail (GST_IS_PAD (pad));
+ g_return_if_fail (GST_IS_GHOST_PAD (pad));
g_return_if_fail (GST_IS_RTP_BIN (element));
rtpbin = GST_RTP_BIN (element);
+ target = gst_ghost_pad_get_target (GST_GHOST_PAD (pad));
+ g_return_if_fail (target);
GST_RTP_BIN_LOCK (rtpbin);
- if (!(session = find_session_by_pad (rtpbin, pad)))
+ if (!(session = find_session_by_pad (rtpbin, target)))
goto unknown_pad;
- if (session->recv_rtp_sink == pad) {
+ if (session->recv_rtp_sink == target) {
remove_recv_rtp (rtpbin, session, pad);
- } else if (session->recv_rtcp_sink == pad) {
+ } else if (session->recv_rtcp_sink == target) {
remove_recv_rtcp (rtpbin, session, pad);
- } else if (session->send_rtp_sink == pad) {
+ } else if (session->send_rtp_sink == target) {
remove_send_rtp (rtpbin, session, pad);
- } else if (session->send_rtcp_src == pad) {
+ } else if (session->send_rtcp_src == target) {
remove_rtcp (rtpbin, session, pad);
}
GST_RTP_BIN_UNLOCK (rtpbin);
+ gst_object_unref (target);
return;
/* ERROR */
-------------------------------------------------------------------------
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.