On Mon, 14 Apr 2014 01:07:28 +0100, Kieran Kunhya <[email protected]> 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 [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
