summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_out/video_out_mmal.c2
1 files changed, 1 insertions, 1 deletions
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);