>> -        } 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?
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to