summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorAlexandre Sicard <alexandre.sicard@smartjog.com>2013-07-08 11:56:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-08 17:36:45 +0200
commit70b922f371e27440a51ee1e9cc1c7db0e042ebd1 (patch)
treefb7aef979a1f2c6a406e612e25176817ae943a25 /libavformat/isom.h
parente096283ea55bc36a637b47329e19ddb26fb1440b (diff)
avformat/mov: read stream bitrates from isml manifest
This allows to read a live isml movie and segment it using the smoothstreaming muxer, which requires the bitrates to be known for each stream. Signed-off-by: Alexandre Sicard <alexandre.sicard@smartjog.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 220b2df4e1..b0fa453de6 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -162,6 +162,8 @@ typedef struct MOVContext {
int use_absolute_path;
int ignore_editlist;
int64_t next_root_atom; ///< offset of the next root atom
+ int *bitrates; ///< bitrates read before streams creation
+ int bitrates_count;
} MOVContext;
int ff_mp4_read_descr_len(AVIOContext *pb);