I'm developing a media player that streams mp3 files. I'm using the python gstreamer module to play the streams.
my player is the playbin2 element
When I want to query the position (with query_position(gst.FORMAT_TIME,None)), it always returns a gst.QueryError: Query failed.
The song is definetly playing. (state is not NULL) 
Does anyone have any experience with this?
PS: I also tried replacing gst.FORMAT_TIME with gst.Format(gst.FORMAT_TIME), but gives me the same error.
From what source are you streaming? If you query the position from the playbin2 I'd say you do everything right. Can you file a bug for gstreamer, include a minimal python snippet that exposes the problem and tell from which source you stream - ideally its public.
element playbin2 query_position always returns query failed