Skip to main content

Do controls (received from player) still work after it has been deallocated

2 replies [Last post]
vinaykagarwal
Offline
Joined: 2006-01-14

Hello,

Player returns controls like the following
playbackControl = (PlaybackControl) player.getControl(PlaybackControl.class.getName());

Are these controls independent classes or just snapshots of the player? Would such a control still work after the player the control was received from is deallocated?

Thanks in advance.
Vinay Agarwal

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jkinzer
Offline
Joined: 2006-04-18

This is doubtful, but there may be player bugs that could cause this to work.

vinaykagarwal
Offline
Joined: 2006-01-14

Thanks - that's what I believe too.