[FFmpeg-cvslog] lavfi/transpose: call av_frame_copy_props()
Paul B Mahol
git at videolan.org
Fri Aug 16 15:34:56 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Aug 14 21:34:27 2013 +0000| [66f1de66b89d67675e28066bb2086f27c7535295] | committer: Paul B Mahol
lavfi/transpose: call av_frame_copy_props()
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66f1de66b89d67675e28066bb2086f27c7535295
---
libavfilter/vf_transpose.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
index 82f68e5..2170b8a 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;
More information about the ffmpeg-cvslog
mailing list