summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-05-13 15:36:10 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-13 15:36:10 +0000
commit54d2d4f698bb04464b061273d7c45d9362343b29 (patch)
treef4ce47d7d75b02515d0e375d481eb1fcaf1700ca /ffmpeg.c
parent0eeb52f9e94b1f8c09d4ffa55eb8b58dd4352097 (diff)
Make 'ffmpeg -formats' print codec long names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13142 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 4e6714d827..8d77742df1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3466,14 +3466,15 @@ static void opt_show_formats(void)
break;
}
printf(
- " %s%s%s%s%s%s %s",
+ " %s%s%s%s%s%s %-15s %s",
decode ? "D": (/*p2->decoder ? "d":*/" "),
encode ? "E":" ",
type_str,
cap & CODEC_CAP_DRAW_HORIZ_BAND ? "S":" ",
cap & CODEC_CAP_DR1 ? "D":" ",
cap & CODEC_CAP_TRUNCATED ? "T":" ",
- p2->name);
+ p2->name,
+ p2->long_name ? p2->long_name : "");
/* if(p2->decoder && decode==0)
printf(" use %s for decoding", p2->decoder->name);*/
printf("\n");