winegstreamer: Set the bit depth for UYVY video.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bdf8f6753d
commit
b9b2a04fe7
|
@ -227,6 +227,7 @@ static gboolean amt_from_gst_video_info(const GstVideoInfo *info, AM_MEDIA_TYPE
|
||||||
bih->biBitCount = 12; break;
|
bih->biBitCount = 12; break;
|
||||||
case mmioFOURCC('Y','U','Y','2'):
|
case mmioFOURCC('Y','U','Y','2'):
|
||||||
case mmioFOURCC('Y','V','Y','U'):
|
case mmioFOURCC('Y','V','Y','U'):
|
||||||
|
case mmioFOURCC('U','Y','V','Y'):
|
||||||
bih->biBitCount = 16; break;
|
bih->biBitCount = 16; break;
|
||||||
}
|
}
|
||||||
bih->biCompression = amt->subtype.Data1;
|
bih->biCompression = amt->subtype.Data1;
|
||||||
|
|
Loading…
Reference in New Issue