aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2009-06-10 15:08:02 +0000
committerLuca Barbato <lu_zero@gentoo.org>2009-06-10 15:08:02 +0000
commitec606b36b419dffbe059ac90a2fe96b5381c8331 (patch)
tree66e945120bdf5a163f890c660ec85b5b3ab558c0 /libavformat/rtsp.h
parent4db819bc7f47f1fe41caec63ad6122d2c999c95c (diff)
downloadffmpeg-ec606b36b419dffbe059ac90a2fe96b5381c8331.tar.gz
Support seeking as defined by the rfc
a PLAY with Range alone while in PLAY status should be interpreted as an enqueue a PAUSE followed by a PLAY with Range is the proper way to ask to seek to a point. See rfc2326 Originally committed as revision 19143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 900eae525b..8824ede26c 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -151,6 +151,7 @@ enum RTSPClientState {
RTSP_STATE_IDLE, /**< not initialized */
RTSP_STATE_PLAYING, /**< initialized and receiving data */
RTSP_STATE_PAUSED, /**< initialized, but not receiving data */
+ RTSP_STATE_SEEKING, /**< initialized, requesting a seek */
};
/**