[FFmpeg-devel] [PATCH] lavf/mov.c: Set skip_samples according to first edit list, when -ignore_editlist is set.

Sasi Inguva isasi at google.com
Fri Dec 30 01:07:13 EET 2016


Sent a patch adding a new option to lavf/mov.c . PTAL.

Thanks.

On Thu, Dec 29, 2016 at 2:15 PM, Sasi Inguva <isasi at google.com> wrote:

> True.  Correct way would be to have another option controlling just the
> mov_fix_index part for the edit list code.
>
> On Mon, Nov 14, 2016 at 5:48 AM, Derek Buitenhuis <
> derek.buitenhuis at gmail.com> wrote:
>
>> On 11/12/2016 6:02 AM, Sasi Inguva wrote:
>> > +    /* Adjust skip_samples correctly when ignore_editlist is set, to
>> support gapless playback */
>> > +    if (mov->ignore_editlist && sc->num_non_empty_elst <= 1 &&
>> > +        st->codecpar->codec_id == AV_CODEC_ID_AAC &&
>> sc->first_elist_start_time > 0) {
>> > +        sc->start_pad = sc->first_elist_start_time;
>> > +    }
>>
>> Doesn't this make the name "ignore_editlist" rather untrue?
>>
>> Also, pinging wm4.
>>
>> - Derek
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>
>


More information about the ffmpeg-devel mailing list