[FFmpeg-devel] [PATCH] NVENC: Update check for Lookahead

Ruta Gadkari rgadkari at nvidia.com
Mon Dec 26 09:57:30 EET 2016


Found one small bug in NVENC implementation.
The value of rc_lookahead is initialized to -1 but the check in nvenc.c checks for (ctx->rc_lookahead) rather than (ctx->rc_lookahead > 0).
This results in incorrect consideration that lookahead is enabled all the time.

Please review this patch which updates this check.

Thanks
Ruta

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-NVENC-Update-check-for-Lookahead.patch
Type: application/octet-stream
Size: 791 bytes
Desc: 0001-NVENC-Update-check-for-Lookahead.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161226/eafd9106/attachment.obj>


More information about the ffmpeg-devel mailing list