[PATCH] Phonon Gstreamer backend

Andre Magalhaes andrunko at gmail.com
Mon Jan 21 16:57:42 GMT 2008


On Jan 18, 2008 6:27 PM, Matthias Kretz <kretz at kde.org> wrote:
> > If phonon plugins can't be exported using KPluginFactory, phonon should
> > proper load the plugins exported by Q_EXPORT_PLUGIN2
>
> What you need to do is to patch KdePlatformPlugin::createBackend(KService::Ptr
> newService) (in kdelibs/phonon/platform_kde/kdepluginfactory.cpp) to also
> load plugins using the Qt pluginloader. Look at kdelibs/phonon/factory.cpp
> how to do that.
Attached there is a patch to
kdelibs/phonon/platform_kde/kdepluginfactory.cpp that
tries to load the plugin using QPluginLoader if it can't load the
plugin using KPluginLoader.

I also updated the phonon gstreamer patch rejected by Thiago to not
link to kde libraries.
I tried the patches with xine and gstreamer plugins, and they both
seem to work fine.

The gstreamer plugins still needs some love, I will work on it when I
find some time.

BR

-- 
Andre Moreira Magalhaes (andrunko)
--------------------------------------------------------
Jabber: andrunko at gmail.com
MSN:   andremoreira at msn.com
Skype:  andrunko
Blog:    http://andrunko.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde4_phonon_gstreamer_build_fix.diff
Type: text/x-diff
Size: 10098 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080121/916a1633/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde4_phonon_gstreamer_standardize_ifndef.diff
Type: text/x-diff
Size: 8621 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080121/916a1633/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde4_phonon_gstreamer_install_desktop.diff
Type: text/x-diff
Size: 597 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080121/916a1633/attachment-0002.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde4_phonon_kdepluginfactory.cpp
Type: text/x-c++src
Size: 1811 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080121/916a1633/attachment.cpp>


More information about the kde-core-devel mailing list