On 23/10/15 15:29, Vittorio Giovara wrote:
> + // If mp3 packets have a non constant duration, they could need a parser
> + if (st->codec->codec_id == AV_CODEC_ID_MP3 &&
> + sc->stts_count > 3 &&
> + sc->stts_count * 10 > st->nb_frames &&
> + sc->time_scale == st->codec->sample_rate) {
> + st->need_parsing = AVSTREAM_PARSE_FULL;
> + }
We already set PARSE_FULL for another flavour, what breaks if we just
set it always? Heuristics are fragile.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel