From 04cead387b26800a35da981a21d3a86048fd5dbd Mon Sep 17 00:00:00 2001 From: Stefan Holst Date: Sun, 15 Dec 2002 16:54:10 +0000 Subject: - set high water marks to higher values in http, pnm and rtsp input plugins to prevent stuttering at the beginning - enable CAP_PREVIEW in pnm and rtsp input plugins CVS patchset: 3545 CVS date: 2002/12/15 16:54:10 --- src/input/librtsp/rtsp_session.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/input/librtsp/rtsp_session.c') diff --git a/src/input/librtsp/rtsp_session.c b/src/input/librtsp/rtsp_session.c index b522c777f..3e51ac7a1 100644 --- a/src/input/librtsp/rtsp_session.c +++ b/src/input/librtsp/rtsp_session.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: rtsp_session.c,v 1.2 2002/12/14 00:02:31 holstsn Exp $ + * $Id: rtsp_session.c,v 1.3 2002/12/15 16:54:10 holstsn Exp $ * * high level interface to rtsp servers. */ @@ -152,6 +152,11 @@ int rtsp_session_read (rtsp_session_t *this, char *data, int len) { return len; } +int rtsp_session_peek_header(rtsp_session_t *this, char *buf) { + + memcpy(buf, this->header, this->header_len); + return this->header_len; +} void rtsp_session_end(rtsp_session_t *session) { -- cgit v1.2.3