<span style='font-family:Verdana'><span style='font-size:12px'>Hello,<br /><br />The gst_element_query_position returns TRUE however the elapsed variable seems to be filled with some random values: 804329364,<p style="margin:0px; padding:0px;" >1475392, 1127216, 1127216, 1127216 ...</p><p style="margin:0px; padding:0px;" > </p><p style="margin:0px; padding:0px;" >I tried with and without setting the "do-timestamp" property to TRUE.</p><p style="margin:0px; padding:0px;" > </p><p style="margin:0px; padding:0px;" >Thank you,</p><p style="margin:0px; padding:0px;" >Dan</p><p style="margin:0px; padding:0px;" > </p><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 5px; margin: 0px 0px 0px 5px;" type="cite"><p style="margin:0px; padding:0px;" ><span style="font-family: Verdana;"><span style="font-size: 12px;">----- Original Message -----</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family: Verdana;"><span style="font-size: 12px;">From: Angel Martin</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family: Verdana;"><span style="font-size: 12px;">Sent: 06/27/13 06:29 PM</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family: Verdana;"><span style="font-size: 12px;">To: Discussion of the development of and with GStreamer</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family: Verdana;"><span style="font-size: 12px;">Subject: Re: gst_element_query_duration</span></span></p> <div><div><pre style="white-space: pre-wrap; word-wrap: break-word;">Check this sample code: 
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-queryevents.html 

It works. You could test your pipeline with a "gst_parse_launch" 
enabling "do-timestamp" for the appsrc. 

2013/6/27 Brendan Long <self@brendanlong.com>: 
> On 06/27/2013 05:46 AM, badea_ion@gmx.fr wrote: 

> However this doesn't work, It used to work fine on Gstreamer 0.10.28, but 
> now I'm using 0.10.36 and it doesn't work. 


> What doesn't work about? Do you get some sort of error or warning, or does 
> it just not do what you expect? 

> _______________________________________________ 
> gstreamer-devel mailing list 
> gstreamer-devel@lists.freedesktop.org 
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel 

_______________________________________________ 
gstreamer-devel mailing list 
gstreamer-devel@lists.freedesktop.org 
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</pre></div></div></blockquote><p style="margin:0px; padding:0px;" > </p><br /><span id="editor_signature"><span style="font-family: Verdana; font-size: 12px;"> </span></span></span></span>