diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 19:27:01 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-01 03:31:03 +0400 |
commit | aebb56e1844d61965c97e95534c3ae0da69df028 (patch) | |
tree | 7f32704e48844fbc928217ddcf6a10fc0b46a38f /libavdevice/v4l.c | |
parent | 8c6fde8c17afb6b551698aa1b4ed79eab6527f9d (diff) |
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/v4l.c')
-rw-r--r-- | libavdevice/v4l.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index 642af9529d..39504741d1 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -154,14 +154,8 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) ioctl(video_fd, VIDIOCSAUDIO, &audio); ioctl(video_fd, VIDIOCGPICT, &pict); -#if 0 - printf("v4l: colour=%d hue=%d brightness=%d constrast=%d whiteness=%d\n", - pict.colour, - pict.hue, - pict.brightness, - pict.contrast, - pict.whiteness); -#endif + av_dlog(s1, "v4l: colour=%d hue=%d brightness=%d constrast=%d whiteness=%d\n", + pict.colour, pict.hue, pict.brightness, pict.contrast, pict.whiteness); /* try to choose a suitable video format */ pict.palette = desired_palette; pict.depth= desired_depth; |