Zebediah Figura : winegstreamer: Keep the stream in paused state for its entire lifetime.

Alexandre Julliard julliard at winehq.org
Thu Jan 21 16:19:14 CST 2021


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

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Jan 20 18:58:52 2021 -0600

winegstreamer: Keep the stream in paused state for its entire lifetime.

This noticeably improves stream startup time. The process of typefinding and
negotiation takes about 70 ms for a simple test file on one machine, and this
is currently done twice. This patch replaces the second instance with a simple
seek, which takes less than 10 ms.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gstdemux.c | 194 +++++++-----------------------------------
 1 file changed, 32 insertions(+), 162 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=90107bba944a1da286e9ebd246ab3fd5dd7cb115



More information about the wine-cvs mailing list