]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtsp.h
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
[ffmpeg] / libavformat / rtsp.h
index e1f1df990e0eaf0037d034a654d20251d41667b2..f5a7fada21c4dbee5b481b4a146e33dfd2d78491 100644 (file)
@@ -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 */
@@ -331,6 +334,16 @@ typedef struct RTSPState {
      * Polling array for udp
      */
     struct pollfd *p;
+
+    /**
+     * Whether the server supports the GET_PARAMETER method.
+     */
+    int get_parameter_supported;
+
+    /**
+     * Do not begin to play the stream immediately.
+     */
+    int initial_pause;
 } RTSPState;
 
 /**