diff options
author | Andrey Utkin <andrey_utkin@fastmail.com> | 2016-05-05 15:37:49 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-06 03:47:36 +0200 |
commit | abb69a2f2ba830c0f2557663915a38a9e5b57e61 (patch) | |
tree | ee88fd6ed7ba03037dd00f592501f1c9c2070cc2 /tests/ref/fate | |
parent | 1d4400ac7fb057cbfff62ab4ce72e7b19c68f929 (diff) | |
download | ffmpeg-abb69a2f2ba830c0f2557663915a38a9e5b57e61.tar.gz |
avcodec: Add "sar" alias to "aspect" option of video encoders
It is impossible to pass "aspect" parameter to encoder from ffmpeg CLI
because option from lavc/options_table.h is eclipsed by option with same
name in ffmpeg_opt.c, which has different meaning (DAR, not SAR).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r-- | tests/ref/fate/api-mjpeg-codec-param | 2 | ||||
-rw-r--r-- | tests/ref/fate/api-png-codec-param | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/fate/api-mjpeg-codec-param b/tests/ref/fate/api-mjpeg-codec-param index 26822fdf91..c67d1b1ab0 100644 --- a/tests/ref/fate/api-mjpeg-codec-param +++ b/tests/ref/fate/api-mjpeg-codec-param @@ -62,6 +62,7 @@ stream=0, decode=0 bits_per_coded_sample=0 pred=0 aspect=180/180 + sar=180/180 debug=0x00000000 vismv=0x00000000 cmp=0 @@ -218,6 +219,7 @@ stream=0, decode=1 bits_per_coded_sample=0 pred=0 aspect=180/180 + sar=180/180 debug=0x00000000 vismv=0x00000000 cmp=0 diff --git a/tests/ref/fate/api-png-codec-param b/tests/ref/fate/api-png-codec-param index 46ac8ebf06..bd53441894 100644 --- a/tests/ref/fate/api-png-codec-param +++ b/tests/ref/fate/api-png-codec-param @@ -62,6 +62,7 @@ stream=0, decode=0 bits_per_coded_sample=0 pred=0 aspect=2835/2835 + sar=2835/2835 debug=0x00000000 vismv=0x00000000 cmp=0 @@ -218,6 +219,7 @@ stream=0, decode=1 bits_per_coded_sample=0 pred=0 aspect=2835/2835 + sar=2835/2835 debug=0x00000000 vismv=0x00000000 cmp=0 |