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:           Tue Nov 25 2008  15:12:20 UTC

Log message:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtcp_src):
Fix event leak.

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

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3741&r2=1.3742
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpsession.c.diff?r1=1.53&r2=1.54

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v
retrieving revision 1.3741
retrieving revision 1.3742
diff -u -d -r1.3741 -r1.3742
--- ChangeLog	25 Nov 2008 14:49:31 -0000	1.3741
+++ ChangeLog	25 Nov 2008 15:12:03 -0000	1.3742
@@ -1,3 +1,9 @@
+2008-11-25  Wim Taymans  <[email protected]>
+
+	* gst/rtpmanager/gstrtpsession.c:
+	(gst_rtp_session_event_send_rtcp_src):
+	Fix event leak.
 2008-11-25  Sebastian Dröge  <[email protected]>
 
 	* gst/mxf/mxfmpeg.c: (mxf_mpeg_video_create_caps):
Index: gstrtpsession.c
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpsession.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- gstrtpsession.c	20 Nov 2008 18:41:33 -0000	1.53
+++ gstrtpsession.c	25 Nov 2008 15:12:06 -0000	1.54
@@ -1373,6 +1373,7 @@
   return ret;
 }
 static GList *
 gst_rtp_session_internal_links (GstPad * pad)
 {
@@ -1551,7 +1552,7 @@
   GstRtpSession *rtpsession;
   GstRtpSessionPrivate *priv;
-  gboolean ret = FALSE;
+  gboolean ret;
   rtpsession = GST_RTP_SESSION (gst_pad_get_parent (pad));
   priv = rtpsession->priv;
@@ -1560,10 +1561,13 @@
   switch (GST_EVENT_TYPE (event)) {
     case GST_EVENT_LATENCY:
+      gst_event_unref (event);
       ret = TRUE;
       break;
     default:
       /* other events simply fail for now */
+      ret = FALSE;
   }

-------------------------------------------------------------------------
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.