[maemo-developers] OGG support
From: Stefan Kost ensonic at hora-obscura.deDate: Thu Dec 20 18:09:40 EET 2007
- Previous message: OGG support
- Next message: Microb browser and GTK configuration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Pavel Rojtberg schrieb:
> Hi,
>
> I'm using the gstreamer ogg plugins from ogg-support for my music
> player. while writing
> it I've run into the following problems:
>
> 1.) I'm using the playbin element for playback. For switching songs I
> simply change the "uri" property. This works fine with mp3 files, but
> messes up the pipeline when I try to put an ogg in it.
>
> theres a example for this attached.
>
> 2.) even when I manage to get the ogg pipline for playback I dont get
> the messages for tags.
<from the attached source>
> print "\nogg:"
> player.set_state(gst.STATE_NULL) # reset player FIXME: doesnt work
this is wrong, it destroys the object. use STATE_READY
> # I have to recreate player here to make it work:
> # player = gst.element_factory_make("playbin")
> player.set_property("uri", "file://%s/test.ogg" % base)
> player.set_state(gst.STATE_PLAYING)
> return False
Stefan
- Previous message: OGG support
- Next message: Microb browser and GTK configuration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
