Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol authored on 2013/08/15 06:34:27... | ... |
@@ -228,8 +228,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) |
228 | 228 |
av_frame_free(&in); |
229 | 229 |
return AVERROR(ENOMEM); |
230 | 230 |
} |
231 |
- |
|
232 |
- out->pts = in->pts; |
|
231 |
+ av_frame_copy_props(out, in); |
|
233 | 232 |
|
234 | 233 |
if (in->sample_aspect_ratio.num == 0) { |
235 | 234 |
out->sample_aspect_ratio = in->sample_aspect_ratio; |