mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-01 15:31:24 +00:00
af_aresample: 10l fix, wrong timebase for next_pts.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
17d4233c9c
commit
db6ef054f5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user