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?
Rest looks right.
- Mark
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel