aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-07-17 10:27:47 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-07-17 10:27:47 +0000
commitb7b8fc340632d15cb3b26a57915ebea84f37d03e (patch)
tree2c3285f135a719b41bb58b0a03d18fe5ac2cae49 /libavformat/rtsp.h
parent590403c7023c37a7dd43216446a9780e2add0097 (diff)
downloadffmpeg-b7b8fc340632d15cb3b26a57915ebea84f37d03e.tar.gz
suppressed RTSP abort hack - added PLAY/PAUSE
Originally committed as revision 2060 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index f237268db8..83d88633b5 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -34,6 +34,7 @@ enum RTSPProtocol {
#define RTSP_DEFAULT_PORT 554
#define RTSP_MAX_TRANSPORTS 8
+#define RTSP_TCP_MAX_PACKET_SIZE 1472
typedef struct RTSPTransportField {
int interleaved_min, interleaved_max; /* interleave ids, if TCP transport */
@@ -77,10 +78,13 @@ void rtsp_set_callback(FFRTSPCallback *rtsp_cb);
int rtsp_init(void);
void rtsp_parse_line(RTSPHeader *reply, const char *buf);
-extern int rtsp_abort_req;
extern int rtsp_default_protocols;
extern int rtsp_rtp_port_min;
extern int rtsp_rtp_port_max;
extern FFRTSPCallback *ff_rtsp_callback;
+extern AVInputFormat rtsp_demux;
+
+int rtsp_pause(AVFormatContext *s);
+int rtsp_resume(AVFormatContext *s);
#endif /* RTSP_H */