Skip to content
Snippets Groups Projects
Commit 48d50cdf authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

avcapture: fix output format to BGRA

We request kCVPixelFormatType_32BGRA which is BGRA, not RGB32.
parent ca04b74f
No related branches found
No related tags found
Loading
Pipeline #140833 passed with stage
in 47 minutes and 31 seconds
......@@ -440,7 +440,7 @@ static int Control(demux_t *p_demux, int i_query, va_list args)
return nil;
}
int chroma = VLC_CODEC_RGB32;
int chroma = VLC_CODEC_BGRA;
memset(&_fmt, 0, sizeof(es_format_t));
es_format_Init(&_fmt, VIDEO_ES, chroma);
......
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