X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmovenc.h;h=7c87f6b14dea69f1c9f4f4be1c21a8b4c9dd578a;hb=55c49afc42abae64e5ab25e04bc3c09b17c5b6d5;hp=72427d8cfd51be6dd220ca9560e2af098b1003e8;hpb=8846115b1a5c29892fdf2c74747f71d37e16e864;p=ffmpeg diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 72427d8cfd5..7c87f6b14de 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -39,6 +39,7 @@ #define MODE_3G2 0x10 #define MODE_IPOD 0x20 #define MODE_ISM 0x40 +#define MODE_F4V 0x80 typedef struct MOVIentry { uint64_t pos; @@ -61,13 +62,13 @@ typedef struct HintSample { int own_data; } HintSample; -typedef struct { +typedef struct HintSampleQueue { int size; int len; HintSample *samples; } HintSampleQueue; -typedef struct { +typedef struct MOVFragmentInfo { int64_t offset; int64_t time; int64_t duration; @@ -151,7 +152,7 @@ typedef struct MOVMuxContext { int flags; int rtp_flags; - int reserved_moov_size; + int reserved_moov_size; ///< 0 for disabled, -1 for automatic, size otherwise int64_t reserved_moov_pos; int iods_skip; @@ -173,6 +174,7 @@ typedef struct MOVMuxContext { #define FF_MOV_FLAG_SEPARATE_MOOF 16 #define FF_MOV_FLAG_FRAG_CUSTOM 32 #define FF_MOV_FLAG_ISML 64 +#define FF_MOV_FLAG_FASTSTART 128 int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);