---
libavformat/movenc.c | 2 ++
libavformat/movenc.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 3ac6dc5..82bedf8 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -33,6 +33,7 @@
#include "internal.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
+#include "rtpenc.h"
#undef NDEBUG
#include <assert.h>
@@ -40,6 +41,7 @@
static const AVOption options[] = {
{ "movflags", "MOV muxer flags", offsetof(MOVMuxContext, flags),
FF_OPT_TYPE_FLAGS, {.dbl = 0}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM,
"movflags" },
{ "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"
},
+ FF_RTP_FLAG_OPTS(MOVMuxContext, rtp_flags),
{ NULL },
};
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 69b6621..39cdb39 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -111,6 +111,7 @@ typedef struct MOVMuxContext {
MOVTrack *tracks;
int flags;
+ int rtp_flags;
} MOVMuxContext;
#define FF_MOV_FLAG_RTP_HINT 1
--
1.7.3.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel