Browse code

movenc: Add RTP muxer/hinter options

Signed-off-by: Martin Storsjö <martin@martin.st>

Martin Storsjö authored on 2011/05/21 20:58:43
Showing 3 changed files
... ...
@@ -34,6 +34,7 @@
34 34
 #include "libavutil/avstring.h"
35 35
 #include "libavutil/opt.h"
36 36
 #include "libavutil/dict.h"
37
+#include "rtpenc.h"
37 38
 
38 39
 #undef NDEBUG
39 40
 #include <assert.h>
... ...
@@ -41,6 +42,7 @@
41 41
 static const AVOption options[] = {
42 42
     { "movflags", "MOV muxer flags", offsetof(MOVMuxContext, flags), FF_OPT_TYPE_FLAGS, {.dbl = 0}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "movflags" },
43 43
     { "rtphint", "Add RTP hint tracks", 0, FF_OPT_TYPE_CONST, {.dbl = FF_MOV_FLAG_RTP_HINT}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "movflags" },
44
+    FF_RTP_FLAG_OPTS(MOVMuxContext, rtp_flags),
44 45
     { NULL },
45 46
 };
46 47
 
... ...
@@ -111,6 +111,7 @@ typedef struct MOVMuxContext {
111 111
     MOVTrack *tracks;
112 112
 
113 113
     int flags;
114
+    int rtp_flags;
114 115
 } MOVMuxContext;
115 116
 
116 117
 #define FF_MOV_FLAG_RTP_HINT 1
... ...
@@ -25,7 +25,7 @@
25 25
 
26 26
 #define LIBAVFORMAT_VERSION_MAJOR 53
27 27
 #define LIBAVFORMAT_VERSION_MINOR  1
28
-#define LIBAVFORMAT_VERSION_MICRO  2
28
+#define LIBAVFORMAT_VERSION_MICRO  3
29 29
 
30 30
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
31 31
                                                LIBAVFORMAT_VERSION_MINOR, \