aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/v4l2.c
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2013-03-28 14:05:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-28 16:17:42 +0100
commit5009863ab5a4db6979eb39ea543d07c212f6b7df (patch)
tree15ac7aeffd750d4937c23a100b7451b7a55fe7fd /libavdevice/v4l2.c
parentb97f7d9d24324a5fdf3516ca1e45e142e05ba336 (diff)
downloadffmpeg-5009863ab5a4db6979eb39ea543d07c212f6b7df.tar.gz
lavd/v4l2: fix printing of list_formats table
In particular we needed a '\n' at the end of the line when the format is emulated. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r--libavdevice/v4l2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 539eae6a3f..284b495cd9 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -371,10 +371,8 @@ static void list_formats(AVFormatContext *ctx, int fd, int type)
}
#ifdef V4L2_FMT_FLAG_EMULATED
- if (vfd.flags & V4L2_FMT_FLAG_EMULATED) {
- av_log(ctx, AV_LOG_WARNING, "%s", "Emulated");
- continue;
- }
+ if (vfd.flags & V4L2_FMT_FLAG_EMULATED)
+ av_log(ctx, AV_LOG_INFO, " Emulated :");
#endif
#if HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE
list_framesizes(ctx, fd, vfd.pixelformat);