This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 9573519b013f8a06fa48d807ead20d1a3be0625a Author: Niklas Haas <[email protected]> AuthorDate: Fri Jun 26 14:54:51 2026 +0200 Commit: Marvin Scholz <[email protected]> CommitDate: Mon Jun 29 18:09:37 2026 +0200 avfilter/vf_scale_cuda: eliminate redundant context push/pop This is already done by cudascale_filter_frame(). Signed-off-by: Niklas Haas <[email protected]> (cherry picked from commit 0c3f04a97c2b6b8473631c61682bbf738b9a9978) Signed-off-by: Marvin Scholz <[email protected]> --- libavfilter/vf_scale_cuda.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c index 2a7dc300f5..d429f791b0 100644 --- a/libavfilter/vf_scale_cuda.c +++ b/libavfilter/vf_scale_cuda.c @@ -756,7 +756,6 @@ static int scalecuda_resize(AVFilterContext *ctx, int pass, { CUDAScaleContext *s = ctx->priv; CudaFunctions *cu = s->hwctx->internal->cuda_dl; - CUcontext dummy, cuda_ctx = s->hwctx->cuda_ctx; int i, ret; int mpeg_range = in->color_range != AVCOL_RANGE_JPEG; @@ -772,10 +771,6 @@ static int scalecuda_resize(AVFilterContext *ctx, int pass, int crop_width = (in->width - in->crop_right) - in->crop_left; int crop_height = (in->height - in->crop_bottom) - in->crop_top; - ret = CHECK_CU(cu->cuCtxPushCurrent(cuda_ctx)); - if (ret < 0) - return ret; - for (i = 0; i < s->in_planes; i++) { CUDA_TEXTURE_DESC tex_desc = { .filterMode = s->interp_use_linear ? @@ -836,8 +831,6 @@ exit: if (tex[i]) CHECK_CU(cu->cuTexObjectDestroy(tex[i])); - CHECK_CU(cu->cuCtxPopCurrent(&dummy)); - return ret; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
