avdevice/v4l2: Fix vertical alignment in list_formats() output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-05-16 14:35:36 +02:00
parent 50393bce31
commit f8598cefe9
1 changed files with 2 additions and 2 deletions

View File

@ -280,13 +280,13 @@ static void list_formats(AVFormatContext *ctx, int type)
if (!(vfd.flags & V4L2_FMT_FLAG_COMPRESSED) &&
type & V4L_RAWFORMATS) {
const char *fmt_name = av_get_pix_fmt_name(pix_fmt);
av_log(ctx, AV_LOG_INFO, "Raw : %9s : %20s :",
av_log(ctx, AV_LOG_INFO, "Raw : %11s : %20s :",
fmt_name ? fmt_name : "Unsupported",
vfd.description);
} else if (vfd.flags & V4L2_FMT_FLAG_COMPRESSED &&
type & V4L_COMPFORMATS) {
const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
av_log(ctx, AV_LOG_INFO, "Compressed: %9s : %20s :",
av_log(ctx, AV_LOG_INFO, "Compressed: %11s : %20s :",
desc ? desc->name : "Unsupported",
vfd.description);
} else {