From 90c2295b24e9fa0c857e459088d18945a6681ef0 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Fri, 7 Mar 2008 19:25:09 +0000 Subject: Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing of matroska and nut. Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/nut.h') diff --git a/libavformat/nut.h b/libavformat/nut.h index 4dee3a8da9..2df58fbf85 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -99,10 +99,17 @@ typedef struct { extern const AVCodecTag ff_nut_subtitle_tags[]; +typedef struct { + char str[9]; + int flag; +} Dispositions; + void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val); int64_t ff_lsb2full(StreamContext *stream, int64_t lsb); int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b); int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b); void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts); +extern const Dispositions ff_nut_dispositions[]; + #endif /* FFMPEG_NUT_H */ -- cgit v1.2.3