summaryrefslogtreecommitdiff
path: root/modules/omx/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/omx/module.c')
-rw-r--r--modules/omx/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/omx/module.c b/modules/omx/module.c
index 587d4ac..eaf2340 100644
--- a/modules/omx/module.c
+++ b/modules/omx/module.c
@@ -87,7 +87,7 @@ int omx_vidisp_display(struct vidisp_st *st, const char *title,
frame->linesize[0], frame->linesize[1],
frame->linesize[2]);
err = omx_display_enable(st->omx,
- frame->size.w, frame->size.h, frame->linesize[0]);
+ frame->size.w, frame->size.h, frame->size.w);
if (err) {
error("omx_display_enable failed");
return err;