hardware/libcamera
リビジョン | 44e6c6679aef553d2576cabe596b2beaf46c6481 (tree) |
---|---|
日時 | 2017-05-10 14:10:08 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
Improve log
@@ -61,7 +61,7 @@ int V4L2Camera::Open (const char *device) | ||
61 | 61 | memset(videoIn, 0, sizeof (struct vdIn)); |
62 | 62 | |
63 | 63 | if ((fd = open(device, O_RDWR)) == -1) { |
64 | - ALOGE("ERROR opening V4L interface: %s", strerror(errno)); | |
64 | + ALOGE("ERROR opening V4L interface %s: %s", device, strerror(errno)); | |
65 | 65 | return -1; |
66 | 66 | } |
67 | 67 |
@@ -107,7 +107,7 @@ static int my_abs(int x) | ||
107 | 107 | |
108 | 108 | int V4L2Camera::Init(int width, int height, int fps) |
109 | 109 | { |
110 | - ALOGD("V4L2Camera::Init"); | |
110 | + ALOGD("V4L2Camera::Init(%d, %d, %d)", width, height, fps); | |
111 | 111 | |
112 | 112 | /* Initialize the capture to the specified width and height */ |
113 | 113 | static const struct { |