summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-20 12:27:02 +0300
committerMartin Storsjö <martin@martin.st>2011-05-27 19:56:44 +0300
commit28734ac995ef4ea9be2203144362a585b2296637 (patch)
tree2b1d01f864006514c0b57deff584ec716808458b /libavformat/movenc.h
parent91e3a25ef6de2efcbea38ec0f6ffd3f8785962a2 (diff)
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
Instead of -fflags rtphint, set -movflags rtphint instead. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 6e2b5b7a99..69b6621711 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -109,8 +109,12 @@ typedef struct MOVMuxContext {
int64_t mdat_pos;
uint64_t mdat_size;
MOVTrack *tracks;
+
+ int flags;
} MOVMuxContext;
+#define FF_MOV_FLAG_RTP_HINT 1
+
int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);
int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index);