summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter/waltham-renderer
diff options
context:
space:
mode:
authorNaoko Tanibata <tnaoko@jp.adit-jv.com>2019-03-07 13:25:01 +0900
committerNaoko Tanibata <tnaoko@jp.adit-jv.com>2019-05-17 22:52:56 +0900
commitcd33a17ea5ac787786e5289ec914a96adeaf6346 (patch)
treeec29e7bde80c33f5e224f019b29b3a8becd6986f /waltham-transmitter/waltham-renderer
parent8348d4abf007f26a33f7633bc162ea415081062a (diff)
This patch enables waltham-transmitter to use the stride value given by compositor. For this enabling, the below patch needs to be applied to weston. - 0020-compositor-drm-get-stride-from-drm_get_dma_fd_from_view.patch Bug-AGL: SPEC-2417 Change-Id: Ic12a9a46b0761c9c6521b190d33a746736dbd4c7 Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com> Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
Diffstat (limited to 'waltham-transmitter/waltham-renderer')
-rw-r--r--waltham-transmitter/waltham-renderer/waltham-renderer.c2
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)