diff options
author | Stefan Holst <holstsn@users.sourceforge.net> | 2002-12-15 16:54:10 +0000 |
---|---|---|
committer | Stefan Holst <holstsn@users.sourceforge.net> | 2002-12-15 16:54:10 +0000 |
commit | 04cead387b26800a35da981a21d3a86048fd5dbd (patch) | |
tree | 47654727dbe5d5a438b78f8c33cf66e750d6b7c4 /src/input/librtsp/rtsp_session.c | |
parent | d84f253422522de188a6c0c86897939f7f41651a (diff) | |
download | xine-lib-04cead387b26800a35da981a21d3a86048fd5dbd.tar.gz xine-lib-04cead387b26800a35da981a21d3a86048fd5dbd.tar.bz2 |
- 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
Diffstat (limited to 'src/input/librtsp/rtsp_session.c')
-rw-r--r-- | src/input/librtsp/rtsp_session.c | 7 |
1 files changed, 6 insertions, 1 deletions
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) { |