Commit db6ef054 authored by Michael Niedermayer's avatar Michael Niedermayer

af_aresample: 10l fix, wrong timebase for next_pts.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 17d4233c
......@@ -183,7 +183,7 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamplesref
outsamplesref->audio->nb_samples = n_out;
if(insamplesref->pts != AV_NOPTS_VALUE) {
aresample->next_pts = insamplesref->pts;
aresample->next_pts =
outsamplesref->pts = av_rescale_q(insamplesref->pts, inlink->time_base, outlink->time_base);
} else{
outsamplesref->pts = AV_NOPTS_VALUE; //aresample->next_pts;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment