On Mon, 14 Apr 2014 01:07:28 +0100, Kieran Kunhya <kier...@obe.tv> wrote: > >> - } else if (st->codec->time_base.num != 0 && > >> - st->codec->time_base.den != 0) { > >> - out_pkt.duration = av_rescale_q_rnd(st->parser->duration, > >> - st->codec->time_base, > >> - st->time_base, > >> - AV_ROUND_DOWN); > > What is the purpose of the parser->duration field?
It's useful for audio. -- Anton Khirnov _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel