Skip to content

Commit 87ca30d

Browse files
committed
Fix UV plane order
1 parent d8af34c commit 87ca30d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unicapture/converter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ int converter_run(converter_t* this, frame_info_t* input, frame_info_t* output,
9999
I422ToARGB(
100100
input->planes[0].buffer,
101101
input->planes[0].stride,
102-
this->buffers[2],
103-
input->width / 2,
104102
this->buffers[1],
105103
input->width / 2,
104+
this->buffers[2],
105+
input->width / 2,
106106
output->planes[0].buffer,
107107
output->planes[0].stride,
108108
output->width,

0 commit comments

Comments
 (0)