gst/rtpmanager/gstrtpsession.c: Send RTP BYE command on EOS. Fixes bug #531955.

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtp_sink):
Send RTP BYE command on EOS. Fixes bug #531955.
This commit is contained in:
Sjoerd Simons 2008-05-08 06:23:39 +00:00 committed by Sebastian Dröge
parent 61aa25b049
commit 08b3343e6b
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* 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 <ole.andre.ravnas at tandberg com>
* win32/common/config.h.in:

View file

@ -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);