mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
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>
This commit is contained in:
parent
b97f7d9d24
commit
5009863ab5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user