Re: [FFmpeg-devel] [PATCH] hwcontext_opencl: choose the first device if multiple devices are available

2024-01-29 Thread Xiang, Haihao
On Di, 2024-01-23 at 02:52 +, Xiang, Haihao wrote: > On Ma, 2024-01-22 at 20:32 +, Mark Thompson wrote: > > On 17/01/2024 07:36, Xiang, Haihao wrote: > > > From: Haihao Xiang > > > > > > This makes '-init_hw_device opencl' work in a multiple-device system. > > > > Under what

Re: [FFmpeg-devel] [PATCH] hwcontext_opencl: choose the first device if multiple devices are available

2024-01-22 Thread Xiang, Haihao
On Ma, 2024-01-22 at 20:32 +, Mark Thompson wrote: > On 17/01/2024 07:36, Xiang, Haihao wrote: > > From: Haihao Xiang > > > > This makes '-init_hw_device opencl' work in a multiple-device system. > > Under what circumstances is this more useful than the existing behaviour which > prompts

Re: [FFmpeg-devel] [PATCH] hwcontext_opencl: choose the first device if multiple devices are available

2024-01-22 Thread Mark Thompson
On 17/01/2024 07:36, Xiang, Haihao wrote: From: Haihao Xiang This makes '-init_hw_device opencl' work in a multiple-device system. Under what circumstances is this more useful than the existing behaviour which prompts the user to select the device they intend? There is no particular

[FFmpeg-devel] [PATCH] hwcontext_opencl: choose the first device if multiple devices are available

2024-01-16 Thread Xiang, Haihao
From: Haihao Xiang This makes '-init_hw_device opencl' work in a multiple-device system. Signed-off-by: Haihao Xiang --- doc/ffmpeg.texi | 5 + libavutil/hwcontext_opencl.c | 9 - 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/ffmpeg.texi