Skip to main content

AWTVideoSizeControl

No replies
hooligancat
Offline
Joined: 2009-10-20
Points: 0

I am using the AWTVideoSizeControl control to resize the player with the following code:

Rectangle src = new Rectangle(0, 0, 1920, 1080);
Rectangle dst = new Rectangle(i_target.x, i_target.y, 960, 540);

l_result = ((AWTVideoSizeControl) m_player
.getControl(AWTVideoSizeControl.class.getName()))
.setSize(new AWTVideoSize(src, dst));

This works on every player so far, but when changing playlists it resizes back to full screen on 1 player (all other players stay at the new size). Is this a known issue, or am I missing something?

Thanks