Dear All,I am working on:I am customizing Android 2.3.4 on Beagleboard-xm,I have change the resolution of the screen of android to 1280 X 720 successfully.Where i am browsing through the following url: www.youtube.com When i select a video from the youtube.com to play on the browser i see that video is playing in the Portrait format on the Left side of the screen.Playing video in Portrait format not only happens in Browser but also when i play a video file with the media player. I want a solution for :I want to display or play the video in "Landscape format" in the center of the screen when i play in browser from youtube or any other site or in media player. With this i am sending a screen shot of the problem attached.Regards
Sairam.S
Hi Sairam,
Overlay is used for video rendering. In overlay coed LCD width and height parameters are hardcoded to for time being.
Please change following width and height parameter macors as per your resolution in /hardware/ti/omap3/liboverlay/overlay.cpp file and try again.
#define LCD_WIDTH
#define LCD_HEIGHT
Regards,
Pankaj Bharadiya
PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!