Anyone have ogg support in qt extended 4.4.3 ?

Chris Samuel chris at csamuel.org
Wed Mar 18 12:58:30 CET 2009


On Wednesday 18 March 2009, xChris wrote:

> When the ogg file  has the extension .oga, (it has a mediaplayer icon) I
> cannot play it, as the system says 'the media system is not configured to
> handle this request'

That's a generic error message in QtopiaMediaProvider::createSession() which
results from any error in the call to:

    QMediaServerSession*    mediaSession = d->sessionManager->createSession(request);

Unfortunately I'm not a C++ programmer so I'm pretty much lost after
that point!

> If I rename it as .ogg, its not recognized as audio/media file.

That's bizzare - according to qtopia/etc/mime.types we have:

audio/ogg           oga
audio/ogg+vorbis    ogg

and the Tremor Ogg plugin appears to register itself as knowing about
audio/ogg+vorbis by doing this:

	d->mimeTypes << "audio/ogg+vorbis";

The desktop file for the media player should now make it believe it can
handle both audio/ogg and audio/ogg+vorbis.

So I would have thought it would recognise audio/ogg and audio/ogg+vorbis
as audio files and, if anything, not be able to handle a .oga file by handle
the .ogg files (as the MIME types match).  Perhaps the second part is why the
error occurs ?

Very very peculiar!  I'm out of ideas for now - anyone else ?

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20090318/ed8429b0/attachment.pgp 


More information about the community mailing list