mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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;
|
hsub[2] = 2;
|
||||||
vsub[0] = 1;
|
vsub[0] = 1;
|
||||||
vsub[1] = 2;
|
vsub[1] = 2;
|
||||||
hsub[2] = 2;
|
vsub[2] = 2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
@ -1166,7 +1166,7 @@ alloc_dmabuf_complex (WaylandBuffer *buffer,
|
|||||||
hsub[2] = 2;
|
hsub[2] = 2;
|
||||||
vsub[0] = 1;
|
vsub[0] = 1;
|
||||||
vsub[1] = 2;
|
vsub[1] = 2;
|
||||||
hsub[2] = 2;
|
vsub[2] = 2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user