diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 17:27:01 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-29 17:27:01 +0200 |
commit | 045dd4b9287551443e655b313417fd776f52aab0 (patch) | |
tree | 54581408e4fba906927eda540049b2fd924b71a2 /libavdevice/v4l.c | |
parent | d1be646e906487b395190af1d6dd8d33c22bf25f (diff) | |
download | ffmpeg-045dd4b9287551443e655b313417fd776f52aab0.tar.gz |
Replace some commented-out debug printf() / av_log() messages with av_dlog().
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 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; |