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 Tim-Philipp Müller
parent d6c8809739
commit c466ae6bdc

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