diff options
author | Michael Bradshaw | 2012-06-17 22:20:09 -0700 |
---|---|---|
committer | Nicolas George | 2012-06-18 09:36:34 +0200 |
commit | 2243f0d0783922054d10497fc1d6f6fb376f05ff (patch) | |
tree | 766ee982f8492615ccaba3ecda6b8904994dbc0d /libavformat/options.c | |
parent | 3b3150ec9bfddd9bd57dcd378b43a8f363b0fc4f (diff) |
lavf: add field for how duration is estimated
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 832d058dd0..b1e8b0d45f 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -104,6 +104,11 @@ AVFormatContext *avformat_alloc_context(void) return ic; } +int av_fmt_ctx_get_duration_estimation_method(const AVFormatContext* ctx) +{ + return ctx->duration_estimation_method; +} + const AVClass *avformat_get_class(void) { return &av_format_context_class; |