winegstreamer: Expose 15/16-bit RGB formats.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Anton Baskanov 2020-10-07 01:04:59 +07:00 committed by Alexandre Julliard
parent e484056171
commit 0542a34c24
1 changed files with 2 additions and 0 deletions

View File

@ -1722,6 +1722,8 @@ static HRESULT gstdecoder_source_get_media_type(struct gstdemux_source *pin,
GST_VIDEO_FORMAT_BGRA,
GST_VIDEO_FORMAT_BGRx,
GST_VIDEO_FORMAT_BGR,
GST_VIDEO_FORMAT_RGB16,
GST_VIDEO_FORMAT_RGB15,
};
assert(caps); /* We shouldn't be able to get here if caps haven't been set. */