diff options
Diffstat (limited to 'waltham-transmitter/waltham-renderer')
-rw-r--r-- | waltham-transmitter/waltham-renderer/waltham-renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waltham-transmitter/waltham-renderer/waltham-renderer.c b/waltham-transmitter/waltham-renderer/waltham-renderer.c index d274e3b..76e045c 100644 --- a/waltham-transmitter/waltham-renderer/waltham-renderer.c +++ b/waltham-transmitter/waltham-renderer/waltham-renderer.c @@ -223,7 +223,7 @@ static void waltham_renderer_repaint_output(struct weston_transmitter_output *ou GstBuffer *gstbuffer; GstMemory *mem; GstAllocator *allocator; - int stride = output->renderer->surface_width * 4; + int stride = output->renderer->buf_stride; gsize offset = 0; if(!output->renderer->recorder_enabled) |