Commit 5009863a authored by Giorgio Vazzana's avatar Giorgio Vazzana Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b97f7d9d
...@@ -371,10 +371,8 @@ static void list_formats(AVFormatContext *ctx, int fd, int type) ...@@ -371,10 +371,8 @@ static void list_formats(AVFormatContext *ctx, int fd, int type)
} }
#ifdef V4L2_FMT_FLAG_EMULATED #ifdef V4L2_FMT_FLAG_EMULATED
if (vfd.flags & V4L2_FMT_FLAG_EMULATED) { if (vfd.flags & V4L2_FMT_FLAG_EMULATED)
av_log(ctx, AV_LOG_WARNING, "%s", "Emulated"); av_log(ctx, AV_LOG_INFO, " Emulated :");
continue;
}
#endif #endif
#if HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE #if HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE
list_framesizes(ctx, fd, vfd.pixelformat); list_framesizes(ctx, fd, vfd.pixelformat);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment