how to get current playing time from application?

vineeth nvineeth at gmail.com
Sat Aug 6 05:29:53 PDT 2011


You can use gst_element_query_duration() to get the duration of the stream.
Use gst_element_query_position() to get current position of playback.
--vineeth


On Fri, Aug 5, 2011 at 11:36 AM, vijay <pvijaii at gmail.com> wrote:

> Hi,
>
>    I am writting a parser and decoder plugin for wma decoder.
>    I need to know how to get the cuurrent playing time from the
> application?
>
> Regards,
> Vijay P
>
> _______________________________________________
> 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/20110806/ba5b6bcd/attachment.htm>


More information about the gstreamer-devel mailing list