Zebediah Figura : winegstreamer: Correctly represent non-32-bit float types.

Alexandre Julliard julliard at winehq.org
Tue Jan 28 15:35:25 CST 2020


Module: wine
Branch: master
Commit: aa7017510d507d8f0b2e4393f8ae05a80f9fecf3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=aa7017510d507d8f0b2e4393f8ae05a80f9fecf3

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Jan 27 19:06:54 2020 -0600

winegstreamer: Correctly represent non-32-bit 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 deletion(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index de508b4167..66557b63a5 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)  {




More information about the wine-cvs mailing list