Index: gstrtspsrc.c
===================================================================
--- gstrtspsrc.c	(revision 11281)
+++ gstrtspsrc.c	(working copy)
@@ -100,6 +100,7 @@
 #include "gst/gst-i18n-plugin.h"
 
 #include "gstrtspsrc.h"
+#include "../rtpmanager/rtpsource.h"
 
 #ifdef G_OS_WIN32
 #include <winsock2.h>
@@ -2367,8 +2368,10 @@
   GstRTSPSrc *src = stream->parent;
 
   GST_DEBUG_OBJECT (src, "source in session %u received BYE", stream->id);
+  GST_WARNING ("source ssrc %08x, stream ssrc %d", ((RTPSource*)source)->ssrc , stream->ssrc);
 
-  gst_rtspsrc_do_stream_eos (src, stream);
+  if(((RTPSource*)source)->ssrc == stream->ssrc)
+	gst_rtspsrc_do_stream_eos (src, stream);
 }
 
 static void
@@ -2376,9 +2379,11 @@
 {
   GstRTSPSrc *src = stream->parent;
 
-  GST_DEBUG_OBJECT (src, "source in session %u timed out", stream->id);
+  GST_WARNING_OBJECT (src, "source in session %u timed out", stream->id);
+  GST_WARNING ("source ssrc %08x, stream ssrc %d", ((RTPSource*)source)->ssrc , stream->ssrc);
 
-  gst_rtspsrc_do_stream_eos (src, stream);
+  if(((RTPSource*)source)->ssrc == stream->ssrc)
+    gst_rtspsrc_do_stream_eos (src, stream);
 }
 
 static void
