Re: [FFmpeg-devel] [PATCH] ffmpeg: use explicitly requested hwaccel only

2017-11-11 Thread Timo Rothenpieler
Am 11.11.2017 um 13:02 schrieb Michael Niedermayer: On Fri, Nov 10, 2017 at 10:20:46PM +0100, Timo Rothenpieler wrote: With there being two hwaccels that use the CUDA pix_fmt now, just relying on the pix_fmt to identify the selected hwaccel is not enough anymore. So this checks if the user expl

Re: [FFmpeg-devel] [PATCH] ffmpeg: use explicitly requested hwaccel only

2017-11-11 Thread Michael Niedermayer
On Fri, Nov 10, 2017 at 10:20:46PM +0100, Timo Rothenpieler wrote: > With there being two hwaccels that use the CUDA pix_fmt now, just > relying on the pix_fmt to identify the selected hwaccel is not enough > anymore. > > So this checks if the user explicitly selected a hwaccel, and only > accepts

[FFmpeg-devel] [PATCH] ffmpeg: use explicitly requested hwaccel only

2017-11-10 Thread Timo Rothenpieler
With there being two hwaccels that use the CUDA pix_fmt now, just relying on the pix_fmt to identify the selected hwaccel is not enough anymore. So this checks if the user explicitly selected a hwaccel, and only accepts that one. --- fftools/ffmpeg.c | 7 --- 1 file changed, 4 insertions(+),