|
Replies:
2
-
Last Post:
Nov 2, 2009 4:59 AM
by: Gunnar Adler
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
[BD-J-DEV] Masking Pause/Play UserOp
Posted:
Oct 29, 2009 10:03 AM
|
|
|
Hi there,
I am looking for a way to completely control Pause/Play UserOps through BD-J.
While "Pause On" can be masked in the playlist file somhow "Pause Off" cannot. This way users are always allowed to resume a paused video by pressing Pause or Play buttons. The BD spec mentiones "Pause Off" but why the bit setting is reserved for future use only is a mystery to me.
Any ideas how I could gain control over the "Pause Off" function?
Thank you! Gunnar
--------------------------------------------------------------------- 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
|
|
|
|
|
|
|
Re: [BD-J-DEV] Masking Pause/Play UserOp
Posted:
Oct 30, 2009 2:10 AM
in response to: Gunnar Adler
|
|
|
Hi Gunnar, Set your Title into Interactive mode instead of Movie mode. Add the keys your interested in, into the BDJO file section that deals with 'Use Key Event' (Play, Pause etc). In your BDJ code add the keys to your UserEventRepository eg:
userEventRepository.addKey(HRcEvent.VK_PLAY); userEventRepository.addKey(HRcEvent.VK_PAUSE);
then in your UserEventListener add them again (as you normally would for the popup menu key):
switch (userEvent.getCode()) { case HRcEvent.VK_PLAY: DEBUG("Play button pressed"); break; case HRcEvent.VK_PAUSE: DEBUG("Pause button pressed"); break;
... ... }
This will now give you complete control of Play and Pause. From now on, you must control what happens when these keys are pressed.
|
|
|
|
|
|
|
|
Re: [BD-J-DEV] Masking Pause/Play UserOp
Posted:
Nov 2, 2009 4:59 AM
in response to: hooligancat
|
|
|
Thank you! I totally forgot about the interactive mode. There is no timecode display but I guess I can live with this.
--------------------------------------------------------------------- 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
|
|
|
|
|