diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_rpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index f49f9a409b..615a5a8997 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -380,7 +380,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame) p->display_synced = frame->display_synced; - if (vo->params->imgfmt != IMGFMT_MMAL) { + if (mpi && mpi->imgfmt != IMGFMT_MMAL) { MMAL_BUFFER_HEADER_T *buffer = mmal_queue_wait(p->swpool->queue); if (!buffer) { talloc_free(mpi); |