• Andreas Rheinhardt's avatar
    avformat/mux: Add flag for "not more than one stream of each type" · f4167842
    Andreas Rheinhardt authored
    More exactly: Not more than one stream of each type for which
    a default codec (i.e. AVOutputFormat.(audio|video|subtitle)_codec)
    is set; for those types for which no such codec is set (or for
    which no designated default codec in AVOutputFormat exists at all)
    no streams are permitted.
    
    Given that with this flag set the default codecs become more important,
    they are now set explicitly to AV_CODEC_ID_NONE for "unset";
    the earlier code relied on AV_CODEC_ID_NONE being equal to zero,
    so that default static initialization set it accordingly;
    but this is not how one is supposed to use an enum.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
    f4167842
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...
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...
.mailmap 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...