[FFmpeg-devel] [Patch] scale_npp : Fix pass through mode

Yogender Gupta ygupta at nvidia.com
Mon Aug 14 16:45:23 EEST 2017


The better simplification may be :

ctx->outputs[0]->hw_frames_ctx = s->stages[last_stage > 0] ? s->stages[last_stage].frames_ctx : ctx->inputs[0]->hw_frames_ctx;


-----Original Message-----
From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Timo Rothenpieler
Sent: Monday, August 14, 2017 5:49 PM
To: ffmpeg-devel at ffmpeg.org
Subject: Re: [FFmpeg-devel] [Patch] scale_npp : Fix pass through mode

Applied with a slightly changed logic to achieve the same with fewer lines.

(Which I forgot to commit before pushing, so there's two patches now) _______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-----------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------


More information about the ffmpeg-devel mailing list