diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-12-21 21:53:03 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-12-21 21:53:03 +0000 |
commit | 3f7bb426078aa9fbd8289459d0adcaea22ab18a2 (patch) | |
tree | 27afe12c2087a47f727615a5948172df7b4eb054 /cmdutils.c | |
parent | dc7f38f59cd903695410514119cb280572910c54 (diff) | |
download | ffmpeg-3f7bb426078aa9fbd8289459d0adcaea22ab18a2.tar.gz |
Implement a -pix_fmts option for listing all the supported pixel
formats.
Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c index 68ef726dd3..176a98daf0 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -582,6 +582,11 @@ void show_filters(void) #endif } +void show_pix_fmts(void) +{ + list_fmts(avcodec_pix_fmt_string, PIX_FMT_NB); +} + int read_yesno(void) { int c = getchar(); |