• pkviet's avatar
    ffmpeg options: Enable trailing ? for map_channel · e0436dda
    pkviet authored
    The -map option allows for a trailing ? so that an error is not thrown if
    the input stream does not exist.
    This capability is extended to the map_channel option.
    This allows a ffmpeg command not to break if an input channel does not
    exist, which can be of use (for instance, scripts processing audio
    channels with sources having unset number of audio channels).
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    e0436dda
ffmpeg_opt.c 147 KB