diff options
author | Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> | 2012-04-24 08:51:29 +0900 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-09-19 20:34:15 +0200 |
commit | d17d0ec8c2b432f0b680737de0b2aa03f2d4dd8d (patch) | |
tree | 9903e8ff82e6719cdfa08335e0bc90d517c0eb8b /libavformat/isom.h | |
parent | 7d8431004a236c7f3ea600753989fad11fd2d6df (diff) | |
download | ffmpeg-d17d0ec8c2b432f0b680737de0b2aa03f2d4dd8d.tar.gz |
mov: support random access point grouping
Frames described by this grouping are the starter of a closed or
an open GOP.
This is useful for open GOP of H.264 stream which is not described
by sync sample atom.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index a766326082..b191699711 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -87,6 +87,11 @@ typedef struct { unsigned flags; } MOVTrackExt; +typedef struct { + unsigned int count; + unsigned int index; +} MOVSbgp; + typedef struct MOVStreamContext { AVIOContext *pb; int ffindex; ///< AVStream index @@ -128,6 +133,8 @@ typedef struct MOVStreamContext { int has_palette; int64_t data_size; int64_t track_end; ///< used for dts generation in fragmented movie files + unsigned int rap_group_count; + MOVSbgp *rap_group; } MOVStreamContext; typedef struct MOVContext { |