Compare the pixel format with == instead of match patterns to avoid non_upper_case_globals warnings from the CoreVideo constants.
Compare the pixel format with == instead of match patterns to avoid non_upper_case_globals warnings from the CoreVideo constants.