diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-24 08:44:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-27 06:52:52 +0200 |
commit | 4779f59378d54f30644ef79ce3a5c402546f3cb9 (patch) | |
tree | 29bbe51ffc7ad0916a27aa507f5c291800e65ba2 /libavformat/rtsp.h | |
parent | 89d1b7f40671e0d455fe6b6670bf6f2bcf2eea2e (diff) | |
download | ffmpeg-4779f59378d54f30644ef79ce3a5c402546f3cb9.tar.gz |
rtspdec: add initial_pause private option.
Deprecate corresponding AVFormatParameters field.
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index ff66502626..f5a7fada21 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -28,6 +28,8 @@ #include "network.h" #include "httpauth.h" +#include "libavutil/log.h" + /** * Network layer over which RTP/etc packet data will be transported. */ @@ -196,6 +198,7 @@ enum RTSPServerType { * @todo Use AVIOContext instead of URLContext */ typedef struct RTSPState { + const AVClass *class; /**< Class for private options. */ URLContext *rtsp_hd; /* RTSP TCP connection handle */ /** number of items in the 'rtsp_streams' variable */ @@ -336,6 +339,11 @@ typedef struct RTSPState { * Whether the server supports the GET_PARAMETER method. */ int get_parameter_supported; + + /** + * Do not begin to play the stream immediately. + */ + int initial_pause; } RTSPState; /** |