mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
dvdspu: Fix the rendering of PGS windows with left != 0
When rendering a PGS window area where the left edge is not at
pixel 0, the chroma was being rendered in the wrong place since
commit 4dc648d343
This commit is contained in:
parent
12255ff660
commit
0344b33f40
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue