19 Sep
2024
19 Sep
'24
4:39 a.m.
On Wed Sep 18 16:50:37 2024 +0000, Elizabeth Figura wrote:
I don't understand. We should be calling wg_parser_stream_enable() with that format, right? For uncompressed situation, we are calling wg_parser_stream_enable() with RGB24 in wm_reader:init_stream(), so wg_parser will finally output RGB24.
But the codec_format is not RGB24, it is the format of the stream. It is converted to RGB24 by videoconvert. In uncompressed situation, application expect the result of stream_props_GetMediaType() to be the final output format, which is RGB24, so we should not use codec_format in stream_props_GetMediaType() for uncompressed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6447#note_82596