liboverlay: fix for dynamic overlay size froyo BT_L27.10.1
authorJorge Bustamante <jbustamante@ti.com>
Fri, 14 Jan 2011 01:02:55 +0000 (19:02 -0600)
committerJorge Bustamante <jbustamante@ti.com>
Fri, 14 Jan 2011 02:04:29 +0000 (20:04 -0600)
commit959bf02e6f0e4f78969e9a901ec55986d9ba259d
tree22e436922d498d26ed23b4acff8c504b6eb4a4f7
parent520a840970a562e73af71b2400b5682dcf75b42f
liboverlay: fix for dynamic overlay size

This fix allows setting the size of overlay dedicated for video playback
to be other than hardcoded values LCD_WIDTH and LCD_HEIGHT.

System properties called "com.ti.overlay.width" and "com.ti.overlay.height"
are used to hold dynamic values.
Ideally these should be set on build.prop.

If those values are not set it falls down to old behavior using
LCD_WIDTH and LCD_HEIGHT.

Change-Id: Iaaf28f584c8e6d02503a04835e8b08619542cd32
Signed-off-by: Jorge Bustamante <jbustamante@ti.com>
liboverlay/TIOverlay.cpp