[FFmpeg-devel] [PATCH] lavf/mov.c: Set start_time for all sterams (in case of edit lists).

Michael Niedermayer michael at niedermayer.cc
Sat Aug 11 03:39:28 EEST 2018


On Thu, Aug 09, 2018 at 08:48:46AM -0700, Sasi Inguva wrote:
> Thanks. Attaching the corrected patch
> 
> 
> On Thu, Aug 9, 2018 at 5:59 AM Moritz Barsnick <barsnick at gmx.net> wrote:
> 
> > > [PATCH] lavf/mov.c: Set start_time for all sterams (in case of edit
> > lists).
> >                                              ^ streams
> >
> > Moritz
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >

>  libavformat/mov.c                              |    4 ++--
>  tests/fate/mov.mak                             |    5 +++++
>  tests/ref/fate/mov-neg-firstpts-discard-vorbis |    3 +++
>  3 files changed, 10 insertions(+), 2 deletions(-)
> 4fce3f98b46e0c662377d48c848ac2c1112c9f1a  0001-lavf-mov.c-Set-start_time-for-all-streams-in-case-of.patch
> From a0da82579a1c9ebb81bd029750fa718fa5f1c152 Mon Sep 17 00:00:00 2001
> From: Sasi Inguva <isasi at google.com>
> Date: Mon, 6 Aug 2018 16:28:50 -0700
> Subject: [PATCH] lavf/mov.c: Set start_time for all streams (in case of edit
>  lists).
> 
> Fixes vorbis mp4 audio files, with edit list specified. Since
> st->skip_samples is not set in case of vorbis , ffmpeg computes the
> start_time as negative.
> 
> Signed-off-by: Sasi Inguva <isasi at google.com>
> ---
>  libavformat/mov.c                              | 4 ++--
>  tests/fate/mov.mak                             | 5 +++++
>  tests/ref/fate/mov-neg-firstpts-discard-vorbis | 3 +++
>  3 files changed, 10 insertions(+), 2 deletions(-)
>  create mode 100644 tests/ref/fate/mov-neg-firstpts-discard-vorbis

will apply

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180811/486e09c7/attachment.sig>


More information about the ffmpeg-devel mailing list