session: let source keep track if it sent BYE
[platform/upstream/gst-plugins-good.git] / gst / rtpmanager / rtpsource.c
index b54910f..d426cd7 100644 (file)
@@ -223,6 +223,7 @@ rtp_source_reset (RTPSource * src)
   if (src->bye_reason)
     g_free (src->bye_reason);
   src->bye_reason = NULL;
+  src->sent_bye = FALSE;
 
   src->stats.cycles = -1;
   src->stats.jitter = 0;