Zebediah Figura : winegstreamer: Report MEDIASUBTYPE_IEEE_FLOAT for float types.
Alexandre Julliard
julliard at winehq.org
Tue Jan 28 15:35:25 CST 2020
Module: wine
Branch: master
Commit: ec0d6323d0def305972b8fa1448a7b065636f0c4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ec0d6323d0def305972b8fa1448a7b065636f0c4
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Mon Jan 27 19:06:53 2020 -0600
winegstreamer: Report MEDIASUBTYPE_IEEE_FLOAT for float types.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winegstreamer/gstdemux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 8213bfdb43..de508b4167 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -169,6 +169,7 @@ static gboolean amt_from_gst_caps_audio_raw(const GstCaps *caps, AM_MEDIA_TYPE *
wfe->dwChannelMask = 0;
}
if (GST_AUDIO_INFO_IS_FLOAT(&ainfo)) {
+ amt->subtype = MEDIASUBTYPE_IEEE_FLOAT;
wfe->SubFormat = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
wfx->wBitsPerSample = wfe->Samples.wValidBitsPerSample = 32;
} else {
More information about the wine-cvs
mailing list