Quoting Mark Thompson (2016-06-23 01:12:14) > On 21/06/16 18:50, Anton Khirnov wrote: > > This will be useful in the following commit, after which the muxer > > timebase is not always available when encoding. > > --- > > avconv.c | 23 ++++++++++++----------- > > avconv.h | 2 ++ > > 2 files changed, 14 insertions(+), 11 deletions(-) > > ... > > @@ -314,7 +314,7 @@ static void write_packet(OutputFile *of, AVPacket *pkt, > > OutputStream *ost) > > > > if (ost->frame_rate.num) { > > pkt->duration = av_rescale_q(1, av_inv_q(ost->frame_rate), > > - ost->st->time_base); > > + ost->mux_timebase); > > I think this one wants to stay as-is?
It makes no difference, since they are equal, but I think it's more consistent to use ost->mux_timebase. -- Anton Khirnov _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel