winegstream fix chug

Zlice Z zlice555 at gmail.com
Wed May 18 18:27:22 CDT 2022


commit
https://github.com/wine-mirror/wine/commit/f7a5bf7be1b43ff295723c15c296c94321e3a653

Moved out of a switch-case with a break and does not return from send_buf()

Causes massive chugging in Fallout 3 when the radio ends/begins a new song.

Still get

(wine:17951): GStreamer-CRITICAL **: 19:23:05.389: gst_segment_do_seek:
assertion 'start <= stop' failed

on command line though.


--- src/dlls/winegstreamer/quartz_parser.c  2022-05-18 18:44:35.638648511
-0400
+++ src/dlls/winegstreamer/quartz_parser.c  2022-05-18 19:07:29.212580858
-0400
@@ -779,6 +779,7 @@
                 pin->seek.llCurrent, pin->seek.llStop, pin->seek.dRate)))
             WARN("Failed to deliver new segment, hr %#lx.\n", hr);
         pin->need_segment = false;
+        return;
     }

     if (IsEqualGUID(&pin->pin.pin.mt.formattype, &FORMAT_WaveFormatEx)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220518/cfe2169f/attachment.htm>


More information about the wine-devel mailing list