summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/dvdspu/gstdvdspu-render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/dvdspu/gstdvdspu-render.c b/gst/dvdspu/gstdvdspu-render.c
index b8e3929fd..9c34270ca 100644
--- a/gst/dvdspu/gstdvdspu-render.c
+++ b/gst/dvdspu/gstdvdspu-render.c
@@ -79,6 +79,8 @@ gstspu_blend_comp_buffers (SpuState * state, guint8 * planes[3])
uv_end = (comp_last_x + 1) / 2;
left = state->comp_left / 2;
+ out_U += left * GST_VIDEO_INFO_COMP_PSTRIDE (&state->info, 1);
+ out_V += left * GST_VIDEO_INFO_COMP_PSTRIDE (&state->info, 2);
for (x = left; x < uv_end; x++) {
guint32 tmp;
/* Each entry in the compositing buffer is 4 summed pixels, so the