[FFmpeg-cvslog] lavfi/stereo3d: fix output width for sbsl/sbs2l

Paul B Mahol git at videolan.org
Wed Apr 17 14:22:35 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Apr 17 12:17:50 2013 +0000| [b725202546da366772dec1ada40ce36832582ed9] | committer: Paul B Mahol

lavfi/stereo3d: fix output width for sbsl/sbs2l

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavfilter/vf_stereo3d.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index aaa74a3..c387684 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -263,7 +263,7 @@ static int config_output(AVFilterLink *outlink)
     case SIDE_BY_SIDE_2_LR:
         aspect.num      /= 2;
     case SIDE_BY_SIDE_LR:
-        s->out.width     =
+        s->out.width     = s->width * 2;
         s->out.off_right = s->width * 3;
         break;
     case SIDE_BY_SIDE_2_RL:



More information about the ffmpeg-cvslog mailing list