aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-08-14 21:34:27 +0000
committerPaul B Mahol <onemda@gmail.com>2013-08-16 12:40:02 +0000
commit66f1de66b89d67675e28066bb2086f27c7535295 (patch)
treeb77c257d3165fcd99bf5fae8fe0ef01d665b67d1
parente74a5acb40859623fcd16caa9aa615f1bfda797e (diff)
downloadffmpeg-66f1de66b89d67675e28066bb2086f27c7535295.tar.gz
lavfi/transpose: call av_frame_copy_props()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/vf_transpose.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
index 82f68e5311..2170b8aa0f 100644
--- a/libavfilter/vf_transpose.c
+++ b/libavfilter/vf_transpose.c
@@ -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;