Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libcamera: Commit

hardware/libcamera


Commit MetaInfo

Revision44e6c6679aef553d2576cabe596b2beaf46c6481 (tree)
Time2017-05-10 14:10:08
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Improve log

Change Summary

Incremental Difference

--- a/V4L2Camera.cpp
+++ b/V4L2Camera.cpp
@@ -61,7 +61,7 @@ int V4L2Camera::Open (const char *device)
6161 memset(videoIn, 0, sizeof (struct vdIn));
6262
6363 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));
6565 return -1;
6666 }
6767
@@ -107,7 +107,7 @@ static int my_abs(int x)
107107
108108 int V4L2Camera::Init(int width, int height, int fps)
109109 {
110- ALOGD("V4L2Camera::Init");
110+ ALOGD("V4L2Camera::Init(%d, %d, %d)", width, height, fps);
111111
112112 /* Initialize the capture to the specified width and height */
113113 static const struct {
Show on old repository browser