• Soft Works's avatar
    avutil/opt: Print out numeric values of option constants · 9e0a071e
    Soft Works authored
    It's often not obvious how option constants relate to numerical values.
    Defaults are sometimes printed as numbers and from/to are always printed as numbers.
    Printing the numeric values of options constants avoids this confusion.
    It also allows to see which constants are equivalent.
    
    Before this patch:
    
      -segment_list_type <int>        E........ set the segment list type (from -1 to 4) (default -1)
         flat                         E........ flat format
         csv                          E........ csv format
         ext                          E........ extended format
         ffconcat                     E........ ffconcat format
         m3u8                         E........ M3U8 format
         hls                          E........ Apple HTTP Live Streaming compatible
    
    Afterwards:
    
      -segment_list_type <int>        E........ set the segment list type (from -1 to 4) (default -1)
         flat            0            E........ flat format
         csv             1            E........ csv format
         ext             3            E........ extended format
         ffconcat        4            E........ ffconcat format
         m3u8            2            E........ M3U8 format
         hls             2            E........ Apple HTTP Live Streaming compatible
    Signed-off-by: 's avatarsoftworkz <softworkz@hotmail.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    9e0a071e
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...