Skip to main content

Clock - getRate()

2 replies [Last post]
maciejka79
Offline
Joined: 2008-02-07

Hi.
How do you check that video stream is paused or not.
I was trying tu use getRate() but it doesn't work when movie is paused i'm always getting 1.0 :( it is ok for rewind -2.0, forward 2.0 and play 1.0. the most interesting is that my pause button is using setRate(0) and this works.

thanks in advance for any reply
mac

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joe Rice

Have you tried on multiple players? I believe you should get 0.0 when
paused.

Joe

On Jul 14, 2008, at 5:14 AM, bd-j-dev@mobileandembedded.org wrote:

> Hi.
> How do you check that video stream is paused or not.
> I was trying tu use getRate() but it doesn't work when movie is
> paused i'm always getting 1.0 :( it is ok for rewind -2.0, forward
> 2.0 and play 1.0. the most interesting is that my pause button is
> using setRate(0) and this works.
>
> thanks in advance for any reply
> mac
> [Message sent by forum member 'maciejka79' (maciejka79)]
>
> http://forums.java.net/jive/thread.jspa?messageID=286389
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

maciejka79
Offline
Joined: 2008-02-07

you are right
it works on different one

thanks