Gstreamer problem with gst_element_query_position and gst_element_query_duration

Hello,

I have a problem with my Colibri T30 module from toradex running with Angstrom.

I’m doing a media player using GStreamer-0.10.36 but I’m not able to obtain a correct duration and a correct position of my movie using gst_element_query_position and duration…

The same code compiled for X86 under ubuntu with the same version of gstreamer is working perfectly…

Has someone already have this problem or have an idea to solve it?

Is there another way to obtain the duration and position of my stream, knowing that nvgstplayer is able to retrieve position and duration on the same OS…

Thanks for your help,

Vincent