lavfi/transpose: call av_frame_copy_props()
authorPaul B Mahol <onemda@gmail.com>
Wed, 14 Aug 2013 21:34:27 +0000 (21:34 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 16 Aug 2013 12:40:02 +0000 (12:40 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_transpose.c

index 82f68e5..2170b8a 100644 (file)
@@ -228,8 +228,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
         av_frame_free(&in);
         return AVERROR(ENOMEM);
     }
-
-    out->pts = in->pts;
+    av_frame_copy_props(out, in);
 
     if (in->sample_aspect_ratio.num == 0) {
         out->sample_aspect_ratio = in->sample_aspect_ratio;