[FFmpeg-devel] [PATCH] nvenc: always reduce DAR width and height
Miroslav Slugeň
thunder.m at email.cz
Sun Nov 27 02:46:06 EET 2016
This patch will fix/change:
1. avctx->sample_aspect_ratio.num == 1 and
avctx->sample_aspect_ratio.den != 1:
There is bug in old comparison, so with this aspect ratio for example
1/2 old alghoritm will produce aspect ratio 1/1
2. Old algorithm also does compute with negative numbers, which should
not be used
3. Always reducing DAR width and height is very useful for future use
when we will be monitoring aspect ratio change for reseting encoder...
--
Miroslav Slugeň
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nvenc-always-reduce-DAR-width-and-height.patch
Type: text/x-patch
Size: 1729 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161127/ffa88317/attachment.bin>
More information about the ffmpeg-devel
mailing list