Current Duration of 3GP File

Umakant Goyal umakantgoyal1 at gmail.com
Fri Oct 21 03:27:33 PDT 2011


Oops ..sorry for wrong query -:(..please Ignore this..

On Fri, Oct 21, 2011 at 2:38 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Fri, 2011-10-21 at 13:47 +0530, Umakant Goyal wrote:
>
> > I am trying to get the current duration of 3gp file when my pipeline
> > is in playing state.
> > But whenever i try to get the current duration using API
> > gst_element_query_duration then it always returns same value even
> > though API call is successful.
> > Please suggest me what to do to get the current duration of file when
> > pipeline is in playing state?
>
> Why do you expect the duration to change between calls?
>
> Did you mean to do a position query instead?
>
> Cheers
>  -Tim
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111021/34b71553/attachment.html>


More information about the gstreamer-devel mailing list