[vlc-commits] [Git][videolan/vlc][master] nvdec: guard against missing CUDA definition
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Apr 26 13:46:01 UTC 2022
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
47514893 by Tristan Matthews at 2022-04-26T13:27:34+00:00
nvdec: guard against missing CUDA definition
- - - - -
1 changed file:
- modules/hw/nvdec/nvdec.c
Changes:
=====================================
modules/hw/nvdec/nvdec.c
=====================================
@@ -33,6 +33,10 @@
#include "nvdec_fmt.h"
#include "hw_pool.h"
+#ifndef CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT
+# define CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT 14
+#endif
+
static int OpenDecoder(vlc_object_t *);
static void CloseDecoder(vlc_object_t *);
static int DecoderContextOpen(vlc_decoder_device *, vout_window_t *);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/475148937da33fb72bc8b928aec8be3820cdea16
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/475148937da33fb72bc8b928aec8be3820cdea16
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list