Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -187,7 +187,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) · 186 unmodified lines | ||
| 187 | 187 | av_frame_free(&frame); |
| 188 | 188 | return AVERROR(ENOMEM); |
| 189 | 189 | } |
| 190 | − out->pts = frame->pts; | |
| 190 | + av_frame_copy_props(out, frame); | |
| 191 | 191 | av_frame_free(&frame); |
| 192 | 192 | pal = (uint32_t *)out->data[1]; |
| 193 | 193 | p0 = (uint8_t *)out->data[0]; |