[maemo-developers] Reliably Getting Position Information From Gstreamer
From: Nick Nobody me at nikosapi.orgDate: Sat Mar 7 22:06:50 EET 2009
- Previous message: Fwd: Community Council elections: nomination deadline approaching!
- Next message: Reliably Getting Position Information From Gstreamer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I'm trying to figure out if there's a bug in Maemo's gstreamer or if I'm doing something wrong. It seems that if I seek too many times in rapid succession gstreamer will report a false position (normally 0) when query_position is called. I hacked together a sample player[1] that demonstrates this behavior (from the pygst tutorial example 3.1). Once the file starts playing seek_from_current is called once every 0.1 seconds. On a regular Linux desktop it works perfectly, but on Maemo the song will end up being reset to 0 every few seconds (this is because query_position is reporting a wrong number that's 0 or close to it). Am I missing something? Is there a specific message I must wait for before querying the player again? Or is this just a bug? Thanks, nick [1] http://nikosapi.org/stuff/gst-seek-test.py
- Previous message: Fwd: Community Council elections: nomination deadline approaching!
- Next message: Reliably Getting Position Information From Gstreamer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]