[FFmpeg-cvslog] lavfi/vf_super2xsai: fix output ref size.

Nicolas George git at videolan.org
Sun Dec 2 17:22:35 CET 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sun Dec  2 17:08:17 2012 +0100| [ddd87236f0ebf4680a3d2ea530224577fe0683d2] | committer: Nicolas George

lavfi/vf_super2xsai: fix output ref size.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddd87236f0ebf4680a3d2ea530224577fe0683d2
---

 libavfilter/vf_super2xsai.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c
index 380cd32..e2db3b4 100644
--- a/libavfilter/vf_super2xsai.c
+++ b/libavfilter/vf_super2xsai.c
@@ -312,6 +312,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
         return AVERROR(ENOMEM);
     }
     avfilter_copy_buffer_ref_props(outpicref, inpicref);
+    outpicref->video->w = outlink->w;
+    outpicref->video->h = outlink->h;
 
     super2xsai(inlink->dst, inpicref->data[0], inpicref->linesize[0],
                outpicref->data[0], outpicref->linesize[0],



More information about the ffmpeg-cvslog mailing list