Commit a59a6ce8 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

verbose() rather than printf()

parent 7cafde16
......@@ -127,7 +127,7 @@ namespace {
return;
if(max==min)return;
double d=((double)(cur-min))/((double)(max-min));
printf("gotV '%s' to %f (%d in %d..%d)\n", propName.c_str(), d, cur, min, max);
verbose(1, "[GEM::videoVIDS] gotV '%s' to %f (%d in %d..%d)", propName.c_str(), d, (int)cur, (int)min, (int)max);
props.set(propName, d);
}
static inline void getVideoCamera(videoInput&vi, int device,
......@@ -147,7 +147,7 @@ namespace {
return;
if(max==min)return;
double d=((double)(cur-min))/((double)(max-min));
printf("gotC '%s' to %f (%d in %d..%d)\n", propName.c_str(), d, cur, min, max);
verbose(1, "[GEM::videoVIDS] gotC '%s' to %f (%d in %d..%d)\n", propName.c_str(), d, (int)cur, (int)min, (int)max);
props.set(propName, d);
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment