Hi Brad,

You are the first to request such a feature as far as I'm aware.  So
if the get current time isn't their it's because no one has needed
thus far, so no one has added it.  Feel free to dive in and add the
feature to the ImageStream interface and the associated subclasses of
it.

Cheers,
Robert.

On Fri, Sep 23, 2011 at 6:37 AM, Christiansen, Brad
<[email protected]> wrote:
> Hi,
>
>
>
> I am creating a basic video player using the ImageStream class. I have
> created a standard 'position' slider to seek within the stream. Seeking is
> working with no problems but I cant see any way of reliabily updating the
> position of the slider as the stream is played.
>
>
>
> As well as the seek() and length() function I was hoping to find a
> 'curentTime' like function, basically the 'getter' for 'seek'. Without this
> function it looks like I will have to assume that length and seek are both
> in seconds and then calculate my own 'currentTime' based on elapsed time
> since play was called. This seems overly complex and somewhat unreliable as
> it also assumes that the stream is playing with exactly the correct timing.
>
>
>
> Has anyone solved this? Have I missed something?
>
>
>
> Cheers,
>
> Brad
>
> -------------------------------------------------------------------------
> DISCLAIMER: This e-mail transmission and any documents, files and previous
> e-mail messages attached to it are private and confidential. They may
> contain proprietary or copyright material or information that is subject to
> legal professional privilege. They are for the use of the intended recipient
> only. Any unauthorised viewing, use, disclosure, copying, alteration,
> storage or distribution of, or reliance on, this message is strictly
> prohibited. No part may be reproduced, adapted or transmitted without the
> written permission of the owner. If you have received this transmission in
> error, or are not an authorised recipient, please immediately notify the
> sender by return email, delete this message and all copies from your e-mail
> system, and destroy any printed copies. Receipt by anyone other than the
> intended recipient should not be deemed a waiver of any privilege or
> protection. Thales Australia does not warrant or represent that this e-mail
> or any documents, files and previous e-mail messages attached are error or
> virus free.
> -------------------------------------------------------------------------
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to