aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-29 17:27:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-01 01:31:03 +0200
commitaebb56e1844d61965c97e95534c3ae0da69df028 (patch)
tree7f32704e48844fbc928217ddcf6a10fc0b46a38f /libavdevice
parent8c6fde8c17afb6b551698aa1b4ed79eab6527f9d (diff)
downloadffmpeg-aebb56e1844d61965c97e95534c3ae0da69df028.tar.gz
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/v4l.c10
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;