From da0fc5762b099dac5304c44698ea31aee975d91a Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Wed, 4 Jun 2014 10:20:03 +0300 Subject: video_out_mmal: fix u/v plane alignment --- src/video_out/video_out_mmal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/video_out/video_out_mmal.c b/src/video_out/video_out_mmal.c index 2300f6d1f..f4ff89753 100644 --- a/src/video_out/video_out_mmal.c +++ b/src/video_out/video_out_mmal.c @@ -334,7 +334,7 @@ static void mmal_update_frame_format (vo_driver_t *this_gen, /* alignment */ width = (width + 31) & ~31; - height = (height + 1) & ~1; + height = (height + 15) & ~15; if (!frame->buffer) { frame->buffer = mmal_queue_wait(this->pool->queue); -- cgit v1.2.3