tests/wayland-test-clients: Fix YUV420 vertical subsampling factor
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3371>
This commit is contained in:
parent
0930282baa
commit
005ede7702
@ -932,7 +932,7 @@ wayland_buffer_shm_allocate (WaylandBuffer *buffer,
|
||||
hsub[2] = 2;
|
||||
vsub[0] = 1;
|
||||
vsub[1] = 2;
|
||||
hsub[2] = 2;
|
||||
vsub[2] = 2;
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
@ -1166,7 +1166,7 @@ alloc_dmabuf_complex (WaylandBuffer *buffer,
|
||||
hsub[2] = 2;
|
||||
vsub[0] = 1;
|
||||
vsub[1] = 2;
|
||||
hsub[2] = 2;
|
||||
vsub[2] = 2;
|
||||
break;
|
||||
default:
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user