diff options
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r-- | libavformat/nut.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h index 6357b3d2b1..16f3c123a1 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -36,7 +36,9 @@ #define MAX_DISTANCE (1024*32-1) -#define NUT_VERSION 3 +#define NUT_MAX_VERSION 4 +#define NUT_STABLE_VERSION 3 +#define NUT_MIN_VERSION 2 typedef enum{ FLAG_KEY = 1, ///<if set, frame is keyframe @@ -85,6 +87,7 @@ typedef struct ChapterContext { } ChapterContext; typedef struct NUTContext { + const AVClass *av_class; AVFormatContext *avf; // int written_packet_size; // int64_t packet_start; @@ -100,6 +103,10 @@ typedef struct NUTContext { int header_count; AVRational *time_base; struct AVTreeNode *syncpoints; +#define NUT_BROADCAST 1 // use extended syncpoints +#define NUT_PIPE 2 // do not write syncpoints + int flags; + int version; // version currently in use } NUTContext; extern const AVCodecTag ff_nut_subtitle_tags[]; |