summaryrefslogtreecommitdiff
authorChaomin Zheng <chaomin.zheng@amlogic.com>2016-11-03 08:34:38 (GMT)
committer Chaomin Zheng <chaomin.zheng@amlogic.com>2016-11-03 08:34:38 (GMT)
commit73807469c941ad4f019b2179848472c3921ba6ae (patch)
tree4095a3f1232064249a1146c23dfc3554201cb5df
parent6b926de64744063393aae28fb4454c9980b43c63 (diff)
downloadgralloc-73807469c941ad4f019b2179848472c3921ba6ae.zip
gralloc-73807469c941ad4f019b2179848472c3921ba6ae.tar.gz
gralloc-73807469c941ad4f019b2179848472c3921ba6ae.tar.bz2
PD #131855: change tv framebuffer dpi value
Change-Id: I61a7b96cd6fcc6e3f8b8353db100c73125ecd379
Diffstat
-rw-r--r--framebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer.cpp b/framebuffer.cpp
index 4bd17bb..08305cc 100644
--- a/framebuffer.cpp
+++ b/framebuffer.cpp
@@ -437,7 +437,7 @@ int init_frame_buffer_locked(struct framebuffer_info_t* fbinfo)
refreshRate = 60*1000; // 60 Hz
}
- if (int(info.width) <= 0 || int(info.height) <= 0)
+ if (int(info.width) <= 16 || int(info.height) <= 9)
{
// the driver doesn't return that information
// default to 160 dpi