[FFmpeg-devel] [PATCH] avcodec/nvenc: migrate to new encode API

Philip Langdale philipl at overt.org
Thu Sep 7 00:07:57 EEST 2017


On Wed, 6 Sep 2017 18:14:17 +0200
Timo Rothenpieler <timo at rothenpieler.org> wrote:

> >> +int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
> >> +{
> >> +    CUresult cu_res;
> >> +    CUcontext dummy;
> >> +    NvencSurface *tmpoutsurf;  
> > 
> > You can remove tmpoutsurf in ff_nvenc_send_frame  
> 
> But it's used in it? At the very end, to move the frames between
> queues.
> 

Yes, I mis-read that. Ship it.

--phil


More information about the ffmpeg-devel mailing list