diff options
author | pkviet <pkv.stream@gmail.com> | 2017-08-22 11:30:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-25 23:41:11 +0200 |
commit | e0436ddaa49699fd3842ca36a9524bf31b55cfed (patch) | |
tree | ac7923c3e0b9b840e973b83b409f10c7d8e797d1 /tests/ref | |
parent | 7c10068da10aa288195f5eb5d7e34eb2d8ff7447 (diff) | |
download | ffmpeg-e0436ddaa49699fd3842ca36a9524bf31b55cfed.tar.gz |
ffmpeg options: Enable trailing ? for map_channel
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: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/mapchan-2ch-extract-ch0-ch2-trailing | 1 | ||||
-rw-r--r-- | tests/ref/fate/mapchan-3ch-extract-ch0-ch2-trailing | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ref/fate/mapchan-2ch-extract-ch0-ch2-trailing b/tests/ref/fate/mapchan-2ch-extract-ch0-ch2-trailing new file mode 100644 index 0000000000..a5400373cf --- /dev/null +++ b/tests/ref/fate/mapchan-2ch-extract-ch0-ch2-trailing @@ -0,0 +1 @@ +b6e1d142b4e484221562e7b66b9bbbdc diff --git a/tests/ref/fate/mapchan-3ch-extract-ch0-ch2-trailing b/tests/ref/fate/mapchan-3ch-extract-ch0-ch2-trailing new file mode 100644 index 0000000000..6237a988be --- /dev/null +++ b/tests/ref/fate/mapchan-3ch-extract-ch0-ch2-trailing @@ -0,0 +1 @@ +ae533985186cab287309c04f6b3e866c |