diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-08-28 15:21:45 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-08-28 15:21:45 +0000 |
commit | 53025584c3e8491bfec4b8b474fbf39b4155319c (patch) | |
tree | 14cd5064dc8dd13929699d5a1ec8133a527d5138 /gst/rtpmanager/rtpsession.h | |
parent | 23dbeaabc115ec76225ed44d65ade7ed4d668885 (diff) | |
download | gst-plugins-bad-53025584c3e8491bfec4b8b474fbf39b4155319c.tar.gz gst-plugins-bad-53025584c3e8491bfec4b8b474fbf39b4155319c.tar.bz2 gst-plugins-bad-53025584c3e8491bfec4b8b474fbf39b4155319c.zip |
gst/rtpmanager/gstrtpsession.c: Send EOS when the session object instructs us to.
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_send_rtcp),
(gst_rtp_session_event_send_rtp_sink):
Send EOS when the session object instructs us to.
* gst/rtpmanager/rtpsession.c: (rtp_session_on_timeout):
* gst/rtpmanager/rtpsession.h:
Make it possible for the session manager to instruct us to send EOS. We
currently will EOS when the session is a sender and when the sender part
goes EOS. This is not entirely correct behaviour because the session
could still participate as a receiver.
Fixes #549409.
Diffstat (limited to 'gst/rtpmanager/rtpsession.h')
-rw-r--r-- | gst/rtpmanager/rtpsession.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsession.h b/gst/rtpmanager/rtpsession.h index d45a4108..a32f9115 100644 --- a/gst/rtpmanager/rtpsession.h +++ b/gst/rtpmanager/rtpsession.h @@ -72,6 +72,7 @@ typedef GstFlowReturn (*RTPSessionSendRTP) (RTPSession *sess, RTPSource *src, Gs * @sess: an #RTPSession * @src: the #RTPSource * @buffer: the RTCP buffer ready for sending + * @eos: if an EOS event should be pushed * @user_data: user data specified when registering * * This callback will be called when @sess has @buffer ready for sending to @@ -79,7 +80,8 @@ typedef GstFlowReturn (*RTPSessionSendRTP) (RTPSession *sess, RTPSource *src, Gs * * Returns: a #GstFlowReturn. */ -typedef GstFlowReturn (*RTPSessionSendRTCP) (RTPSession *sess, RTPSource *src, GstBuffer *buffer, gpointer user_data); +typedef GstFlowReturn (*RTPSessionSendRTCP) (RTPSession *sess, RTPSource *src, GstBuffer *buffer, + gboolean eos, gpointer user_data); /** * RTPSessionSyncRTCP: |