summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-29 17:27:01 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-29 17:27:01 +0200
commit045dd4b9287551443e655b313417fd776f52aab0 (patch)
tree54581408e4fba906927eda540049b2fd924b71a2 /libavdevice
parentd1be646e906487b395190af1d6dd8d33c22bf25f (diff)
Replace some commented-out debug printf() / av_log() messages with av_dlog().
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 b3725eb0f2..d97282b7e7 100644
--- a/libavdevice/v4l.c
+++ b/libavdevice/v4l.c
@@ -149,14 +149,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;