Gstreamer/phonon on Windows
Chris Browet
cbro at semperpax.com
Mon Nov 30 13:51:37 CET 2009
On Mon, Nov 30, 2009 at 09:58, Pau Garcia i Quiles <pgquiles at elpauer.org>wrote:
> > It works pretty well with Amarok by me. There is a slight delay before
> > playback start due to the way I patched the backend.
> > 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.
> > 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.
> >
> > I guess the proper way would be to run a GLib loop in the backend
> process,
> > but I have no experience of GLib.
>
> You could also compile Qt on Windows to use the GLib loop, as it does
> on Unix. That's the approach I took when I did my own port of
> Phonon-GStreamer to Windows back in April or so. I talked about that
> with someone from Trolltech (Jens Bache? can't remember) at aKademy
> 2009 but forgot to send him the patch :-/
>
Wouldn't that be overkill just for gstreamer?
Furthermore, leaving the gstreamer patches inside phonon would normally
allow a KDE svn compiled phonon to work on a stock Qt binary setup as well
(which honestly is my primary goal).
- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20091130/7d2082e9/attachment.htm
More information about the Kde-windows
mailing list