[PATCH 2/5] winegstreamer: Correctly represent non-32-bit float types.

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


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

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index de508b4167b..66557b63a59 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -171,7 +171,6 @@ static gboolean amt_from_gst_caps_audio_raw(const GstCaps *caps, AM_MEDIA_TYPE *
     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 {
         wfe->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
         if (wfx->nChannels <= 2 && bpp <= 16 && depth == bpp)  {
-- 
2.25.0




More information about the wine-devel mailing list