History

avfilter/vf_elbg: call av_frame_copy_props()

Paul B Mahol committed 3 years ago

Commit 3cc08681 parent ceb52d41 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_elbg.c+1−1
@@ -187,7 +187,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) · 186 unmodified lines
187187 av_frame_free(&frame);
188188 return AVERROR(ENOMEM);
189189 }
190− out->pts = frame->pts;
190+ av_frame_copy_props(out, frame);
191191 av_frame_free(&frame);
192192 pal = (uint32_t *)out->data[1];
193193 p0 = (uint8_t *)out->data[0];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t