From 08b3343e6b966b0814a9d10ffa1766c7bfb96275 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 8 May 2008 06:23:39 +0000 Subject: gst/rtpmanager/gstrtpsession.c: Send RTP BYE command on EOS. Fixes bug #531955. Original commit message from CVS: Patch by: Sjoerd Simons * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_event_send_rtp_sink): Send RTP BYE command on EOS. Fixes bug #531955. --- ChangeLog | 8 ++++++++ gst/rtpmanager/gstrtpsession.c | 1 + 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4c6d7094..4dccd1f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-05-08 Sebastian Dröge + + Patch by: Sjoerd Simons + + * gst/rtpmanager/gstrtpsession.c: + (gst_rtp_session_event_send_rtp_sink): + Send RTP BYE command on EOS. Fixes bug #531955. + 2008-05-07 Ole André Vadla Ravnås * win32/common/config.h.in: diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 19b11569..49a54fec 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -1582,6 +1582,7 @@ gst_rtp_session_event_send_rtp_sink (GstPad * pad, GstEvent * event) } case GST_EVENT_EOS: ret = gst_pad_push_event (rtpsession->send_rtp_src, event); + rtp_session_send_bye (rtpsession->priv->session, "End of stream"); break; default: ret = gst_pad_push_event (rtpsession->send_rtp_src, event); -- cgit v1.2.1