mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
lavfi/avf_ahistogram: set frame durations
The filter is supposed to produce CFR output.
This commit is contained in:
parent
502892d706
commit
ed48d00861
@ -245,6 +245,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
memset(s->out->data[3] + n * s->out->linesize[0], 0, w);
|
||||
}
|
||||
s->out->pts = av_rescale_q(in->pts, inlink->time_base, outlink->time_base);
|
||||
s->out->duration = 1;
|
||||
|
||||
s->first = s->frame_count;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user