aboutsummaryrefslogtreecommitdiffstats
path: root/arch.mak
diff options
context:
space:
mode:
authorGanapathy Kasi <gkasi@nvidia.com>2017-05-30 19:03:14 -0700
committerTimo Rothenpieler <timo@rothenpieler.org>2017-06-02 21:37:43 +0200
commit9b351d0d888dfc75bf4259f854a8b4920cc60119 (patch)
tree6dd503aad3adba727c745ae35f6a5f67cb8ae06c /arch.mak
parente5e01d24773dde50159df2ad616f3e16a8d2a650 (diff)
downloadffmpeg-9b351d0d888dfc75bf4259f854a8b4920cc60119.tar.gz
avcodec/nvenc: fix hw accelerated transcode with bframes
hw accelerated transcode (h264_cuvid -> h264_nvenc with -hwaccel cuvid) was broken after the filtergraph initialization was changed to intialize decoder first followed by encoder (commit af1761f7b5b1b72197dc40934953b775c2d951cc). During initialzing encoder with bframes, local buffers are allocated internally in encoder which fails since no cuda context is available. Now pushing the correct cuda context before encoder initialization fixes the issue. Also adding push/pop cuda ctx during create/destroy/map/unmap resources and destroy encoder session. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'arch.mak')
0 files changed, 0 insertions, 0 deletions