[FFmpeg-devel] [PATCH 1/3] lavd/v4l2: improve debug message

Stefano Sabatini stefasab at gmail.com
Wed Jan 16 11:18:41 CET 2013


On date Wednesday 2013-01-16 00:32:13 +0100, Stephan Hilb encoded:
> ---
>  libavdevice/v4l2.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
> index 7cb880a..26ff31c 100644
> --- a/libavdevice/v4l2.c
> +++ b/libavdevice/v4l2.c
> @@ -248,7 +248,8 @@ static int device_init(AVFormatContext *ctx, int *width, int *height,
>      }
>  
>      if (fmt.fmt.pix.field == V4L2_FIELD_INTERLACED) {
> -        av_log(ctx, AV_LOG_DEBUG, "The V4L2 driver using the interlaced mode");
> +        av_log(ctx, AV_LOG_DEBUG,
> +               "The V4L2 driver is using the interlaced mode\n");

LGTM (I assume the main problem was the missing "\n").
-- 
FFmpeg = Furious and Fast MultiPurpose Elastic Genius


More information about the ffmpeg-devel mailing list