summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2012-03-05 08:51:08 +0100
committerClément Bœsch <ubitux@gmail.com>2012-06-11 07:35:14 +0200
commit9fb2e234d079a834e66870691bdf1eb8f4648076 (patch)
tree628f631373bad6c9bdb191470117463196bae1de /libavformat/movenc.h
parent9846a9c7015668b54e01a3b8dfbb24fc84616dd8 (diff)
movenc: add timecode track support.
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 574de824ef..830bf377ea 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -87,6 +87,10 @@ typedef struct MOVIndex {
#define MOV_TRACK_CTTS 0x0001
#define MOV_TRACK_STPS 0x0002
uint32_t flags;
+#define MOV_TIMECODE_FLAG_DROPFRAME 0x0001
+#define MOV_TIMECODE_FLAG_24HOURSMAX 0x0002
+#define MOV_TIMECODE_FLAG_ALLOWNEGATIVE 0x0004
+ uint32_t timecode_flags;
int language;
int track_id;
int tag; ///< stsd fourcc
@@ -102,7 +106,7 @@ typedef struct MOVIndex {
int64_t start_dts;
int hint_track; ///< the track that hints this track, -1 if no hint track is set
- int src_track; ///< the track that this hint track describes
+ int src_track; ///< the track that this hint (or tmcd) track describes
AVFormatContext *rtp_ctx; ///< the format context for the hinting rtp muxer
uint32_t prev_rtp_ts;
int64_t cur_rtp_ts_unwrapped;