[FFmpeg-devel] [PATCH] don't override file duration with bitrate guessed duration

Michael Niedermayer michaelni
Mon Apr 12 16:40:29 CEST 2010


On Mon, Apr 12, 2010 at 12:30:49AM +0200, elupus wrote:
> Since avctx->duration now should be allowed to set from demuxer level, it
> should not get overwritten by bitrate guessed duration (which happens with
> matroska for example)
> 
> Joakim
Content-Description: Attached file: 0002-Don-t-override-file-duration-set-by-demuxers.patch
>  utils.c |    8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 76a628c6465ccd74f69ca3dc19bc77f04bc7536b  0002-Don-t-override-file-duration-set-by-demuxers.patch
> From 9a49b2ad603878723a22c1738ed266ad69644796 Mon Sep 17 00:00:00 2001
> From: Joakim <elupus at ecce.se>
> Date: Mon, 12 Apr 2010 00:21:15 +0200
> Subject: [PATCH 2/2] Don't override file duration set by demuxers
> 
> ---
>  libavformat/utils.c |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)

looks ok if tested

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100412/62702ee3/attachment.pgp>



More information about the ffmpeg-devel mailing list