[FFmpeg-devel] [PATCH] Patch for SDK 7.0 for NVENC

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Sep 14 20:19:03 EEST 2016

2016-09-14 18:56 GMT+02:00 Yogender Kumar Gupta <yogender.gupta at gmail.com>:
> Please let me know if anything else needs to be taken care of.

if (condition) {
} else {

like everywhere else in FFmpeg (and on top of your patch).

+    if (ctx->aq && ctx->temporalAQ)
+    {
+        av_log(avctx, AV_LOG_ERROR, "AQ and Temporal AQ are not
supported together\n");
+    }

Printing the error is sufficient, neither return nor unsetting one of them?

Please do not top-post here, Carl Eugen

More information about the ffmpeg-devel mailing list