lavfi/stereo3d: fix output width for sbsl/sbs2l
authorPaul B Mahol <onemda@gmail.com>
Wed, 17 Apr 2013 12:17:50 +0000 (12:17 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 17 Apr 2013 12:21:47 +0000 (12:21 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_stereo3d.c

index aaa74a3..c387684 100644 (file)
@@ -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: