Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 28
Registered: ‎03-12-2009
My Device: Not Specified

Video distortion after resize

Hi

I`m developing a video player module. Found strange behavour:

 

videoControl = (VideoControl) m_player.getControl("VideoControl");
Field videoField = (Field) m_videoControl.initDisplayMode(
                    VideoControl.USE_GUI_PRIMITIVE,
                    "net.rim.device.api.ui.Field");

videoControl.setDisplaySize(getVideoWidth(), getVideoHeight());//parameters are 290,220

 

tested video size 320x240 and 240x180. The same result.

 

This code works on bold, 8900 curve ok, but 83xx - as you can see above.

One more - if i remove the side panel, video is ok

Developer
Posts: 28
Registered: ‎03-12-2009
My Device: Not Specified

Re: Video distortion after resize

Anyone?

Developer
Posts: 28
Registered: ‎03-12-2009
My Device: Not Specified

Re: Video distortion after resize

[ Edited ]

Please give me an idea what to check. Need this asap.