mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avfilter/vf_histogram: call av_frame_copy_props()
This commit is contained in:
parent
c13d959343
commit
bf23d530d2
1 changed files with 1 additions and 1 deletions
|
|
@ -593,7 +593,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||
memset(s->histogram, 0, s->histogram_size * sizeof(unsigned));
|
||||
}
|
||||
|
||||
out->pts = in->pts;
|
||||
av_frame_copy_props(out, in);
|
||||
av_frame_free(&in);
|
||||
s->x_pos++;
|
||||
if (s->x_pos >= s->width) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue