rtspenc: Add RTP muxer options
authorMartin Storsjö <martin@martin.st>
Sat, 21 May 2011 12:03:48 +0000 (15:03 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 10 Jun 2011 07:52:22 +0000 (10:52 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.h
libavformat/rtspenc.c
libavformat/version.h

index f5a7fad..5eae6bf 100644 (file)
@@ -344,6 +344,11 @@ typedef struct RTSPState {
      * Do not begin to play the stream immediately.
      */
     int initial_pause;
+
+    /**
+     * Option flags for the chained RTP muxer.
+     */
+    int rtp_muxer_flags;
 } RTSPState;
 
 /**
index b7fa330..b76b6ad 100644 (file)
 #include "libavutil/avstring.h"
 #include "url.h"
 #include "libavutil/opt.h"
+#include "rtpenc.h"
 
 #define SDP_MAX_SIZE 16384
 
 static const AVOption options[] = {
+    FF_RTP_FLAG_OPTS(RTSPState, rtp_muxer_flags),
     { NULL },
 };
 
index ca61ab1..bd7f3c0 100644 (file)
@@ -25,7 +25,7 @@
 
 #define LIBAVFORMAT_VERSION_MAJOR 53
 #define LIBAVFORMAT_VERSION_MINOR  1
-#define LIBAVFORMAT_VERSION_MICRO  1
+#define LIBAVFORMAT_VERSION_MICRO  2
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
                                                LIBAVFORMAT_VERSION_MINOR, \