<br><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 02:46, Patrick Spendrin <span dir="ltr"><<a href="mailto:ps_ml@gmx.de">ps_ml@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Chris Browet schrieb:<br>
</div>Andrius and I took some time and fixed most of the buildsystem related<br>
errors but were unable to get it running, maybe you have more luck...<br>
(don't forget to update kdesupport/phonon!)<br>
<br>
regards,<br>
Patrick<br></blockquote></div><br>The patch vs. kdesupport phonon is available at <a href="http://gitorious.org/mythq/mythq/blobs/master/contrib/phonon_gstreamer_kde_windows.patch">http://gitorious.org/mythq/mythq/blobs/master/contrib/phonon_gstreamer_kde_windows.patch</a><br>
<br>I'm using MinGW 4.4.0 to compile (from the latest Qt 4.6.0-rc SDK).<br><br>The cmake command I used to build is:<br>cmake.exe -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="C:\kde\kde-mingw4-stable" -DCMAKE_INCLUDE_PATH=c:\gstreamer\include -DCMAKE_LIBRARY_PATH=c:\gstreamer\lib;c:\gstreamer\bin<br>
<br>I installed bothe the binary <u>and dev (for building) </u>packages from <a href="http://www.gstreamer-winbuild.ylatuya.es/doku.php" target="_blank">http://www.gstreamer-winbuild.ylatuya.es/doku.php</a><br>I guess the dev package is not needed at runtime.<br>
<br>Obviously, you have to add the gstreamer bin directory to the PATH.<br><br>Tell me if you encounter problems.<br><br>It works pretty well with Amarok by me. There is a slight delay before playback start due to the way I patched the backend.<br>
The gstreamer backend as it is relies on the GLib main loop to dispatch messages to the backend. There is no default GLip loop on Windows so I instead poll the gstreamer bus to get messages.<br>I set the timer timeout to 100ms. Problem is that at the start of the playback, there is a bunch of messages, and I only get 1 every 100ms. OTOH, decreasing the timeout would accelerate the start, but the it would also unnecessarily rapidly poll the bus during playback, when no messages are coming in.<br>
<br>I guess the proper way would be to run a GLib loop in the backend process, but I have no experience of GLib.<br><br>Regards<br>- Chris -<br>