package/ffmpeg: disable build of nvidia hardware acceleration support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 22 Jul 2017 15:13:06 +0000 (17:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Jul 2017 19:37:56 +0000 (21:37 +0200)
commit3b6fa452f6ee20f54e47fdc3106620ff258f13b7
tree27d7548db8d92227f8c12e3e2ebbc44190381526
parentcabba017d350c14e05c6cce0f435a8eb6fd40473
package/ffmpeg: disable build of nvidia hardware acceleration support

ffmpeg always enables support for nvenc/cuda even if their support
libraries are not present:

External libraries providing hardware acceleration:
cuda cuvid nvenc
[...]
Enabled hwaccels:
h264_cuvid mjpeg_cuvid mpeg2_cuvid vc1_cuvid vp9_cuvid
hevc_cuvid mpeg1_cuvid mpeg4_cuvid vp8_cuvid

This leads to a crash in freeswitch git master when transcoding video
streams on a system without nvidia hardware:

2017-07-22 15:06:27.306760 [INFO] avcodec.c:1077 initializing encoder 352x288
2017-07-22 15:06:27.306760 [NOTICE] avcodec.c:828 NVENC HW CODEC ENABLED

This patch disables the support of nvidia hardware acceleration support
for now until the needed packages are added to buildroot. For details
about this please refer to https://developer.nvidia.com/ffmpeg

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ffmpeg/ffmpeg.mk