[PATCH 1/5] winegstreamer: Report MEDIASUBTYPE_IEEE_FLOAT for float types.

Zebediah Figura z.figura12 at gmail.com
Mon Jan 27 19:06:53 CST 2020


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/winegstreamer/gstdemux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 8213bfdb439..de508b4167b 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 {
-- 
2.25.0




More information about the wine-devel mailing list