author | Chaomin 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) |
commit | 73807469c941ad4f019b2179848472c3921ba6ae (patch) | |
tree | 4095a3f1232064249a1146c23dfc3554201cb5df | |
parent | 6b926de64744063393aae28fb4454c9980b43c63 (diff) | |
download | gralloc-73807469c941ad4f019b2179848472c3921ba6ae.zip gralloc-73807469c941ad4f019b2179848472c3921ba6ae.tar.gz gralloc-73807469c941ad4f019b2179848472c3921ba6ae.tar.bz2 |
PD #131855: change tv framebuffer dpi value
Change-Id: I61a7b96cd6fcc6e3f8b8353db100c73125ecd379
-rw-r--r-- | framebuffer.cpp | 2 |
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 |