mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-28 09:41:01 +00:00
avfilter/vf_histogram: call av_frame_copy_props()
This commit is contained in:
parent
c13d959343
commit
bf23d530d2
@ -593,7 +593,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
memset(s->histogram, 0, s->histogram_size * sizeof(unsigned));
|
memset(s->histogram, 0, s->histogram_size * sizeof(unsigned));
|
||||||
}
|
}
|
||||||
|
|
||||||
out->pts = in->pts;
|
av_frame_copy_props(out, in);
|
||||||
av_frame_free(&in);
|
av_frame_free(&in);
|
||||||
s->x_pos++;
|
s->x_pos++;
|
||||||
if (s->x_pos >= s->width) {
|
if (s->x_pos >= s->width) {
|
||||||
|
Loading…
Reference in New Issue
Block a user