Skip to content
Commit 03c229f4 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Marius Vlad
Browse files

screen-share: use read_format consistently



This was using read_format for the read_pixels() call, and then using a
hardcoded format for interpreting the data received from read_pixels().
That works only by accident, read_format being the same as the hardcoded
format.

Use read_format for the interpreting too. This should guarantee the read
pixels are processed correctly.

Found by code inspection.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent d2aa62a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment