TI E2E Community
How to display the video image in landscape format from portrait format in browser and media player in Android 2.3.4 (Ginger bread)
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
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.
mark this post
as answered via the Verify
button below if you think it answers your question. Thanks!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.