[FFmpeg-devel] [PATCH] Allow using primary CUDA device context
Oleg Dobkin
olegd at anyvision.co
Wed Nov 20 12:29:59 EET 2019
On Tue, 2019-11-19 at 23:58 +0100, Timo Rothenpieler wrote:
> Only thing I'm still wondering is if it would make sense to use the
> primary context by default.
> I can't think of any obvious downsides, other than weakened
> isolation,
> which really shouldn't be a huge concern.
> And there apparently are some potential performance gains.
I think it's safer to leave the default behavior, in case of some
unknown corner cases - there could be some legacy code that assumes the
creation of different contexts per each decoder.
More information about the ffmpeg-devel
mailing list