Blame SOURCES/build-remove-dav1d-from-wayland-dep.patch
|
|
481763 |
diff -up firefox-102.0/media/ffvpx/config_common.h.dav1d-remove firefox-102.0/media/ffvpx/config_common.h
|
|
|
481763 |
--- firefox-102.0/media/ffvpx/config_common.h.dav1d-remove 2022-08-08 12:48:33.218128539 +0200
|
|
|
481763 |
+++ firefox-102.0/media/ffvpx/config_common.h 2022-08-08 12:48:52.986003374 +0200
|
|
|
481763 |
@@ -24,15 +24,11 @@
|
|
|
481763 |
#undef CONFIG_VP8_VAAPI_HWACCEL
|
|
|
481763 |
#undef CONFIG_VP9_VAAPI_HWACCEL
|
|
|
481763 |
#undef CONFIG_AV1_VAAPI_HWACCEL
|
|
|
481763 |
-#undef CONFIG_LIBDAV1D
|
|
|
481763 |
-#undef CONFIG_AV1_DECODER
|
|
|
481763 |
#define CONFIG_VAAPI 1
|
|
|
481763 |
#define CONFIG_VAAPI_1 1
|
|
|
481763 |
#define CONFIG_VP8_VAAPI_HWACCEL 1
|
|
|
481763 |
#define CONFIG_VP9_VAAPI_HWACCEL 1
|
|
|
481763 |
#define CONFIG_AV1_VAAPI_HWACCEL 1
|
|
|
481763 |
-#define CONFIG_LIBDAV1D 1
|
|
|
481763 |
-#define CONFIG_AV1_DECODER 1
|
|
|
481763 |
#endif
|
|
|
481763 |
|
|
|
481763 |
#endif
|
|
|
481763 |
diff -up firefox-102.0/media/ffvpx/libavcodec/moz.build.dav1d-remove firefox-102.0/media/ffvpx/libavcodec/moz.build
|
|
|
481763 |
--- firefox-102.0/media/ffvpx/libavcodec/moz.build.dav1d-remove 2022-08-08 12:44:24.098710736 +0200
|
|
|
481763 |
+++ firefox-102.0/media/ffvpx/libavcodec/moz.build 2022-08-08 12:46:42.635828719 +0200
|
|
|
481763 |
@@ -104,17 +104,23 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
|
|
|
481763 |
]
|
|
|
481763 |
if CONFIG['MOZ_WAYLAND']:
|
|
|
481763 |
LOCAL_INCLUDES += ['/media/mozva']
|
|
|
481763 |
+ if CONFIG['MOZ_DAV1D_ASM']:
|
|
|
481763 |
+ SOURCES += [
|
|
|
481763 |
+ 'libdav1d.c',
|
|
|
481763 |
+ ]
|
|
|
481763 |
SOURCES += [
|
|
|
481763 |
'atsc_a53.c',
|
|
|
481763 |
- 'libdav1d.c',
|
|
|
481763 |
'vaapi_av1.c',
|
|
|
481763 |
'vaapi_decode.c',
|
|
|
481763 |
'vaapi_vp8.c',
|
|
|
481763 |
'vaapi_vp9.c',
|
|
|
481763 |
]
|
|
|
481763 |
+ if CONFIG['MOZ_DAV1D_ASM']:
|
|
|
481763 |
+ USE_LIBS += [
|
|
|
481763 |
+ 'dav1d',
|
|
|
481763 |
+ 'media_libdav1d_asm',
|
|
|
481763 |
+ ]
|
|
|
481763 |
USE_LIBS += [
|
|
|
481763 |
- 'dav1d',
|
|
|
481763 |
- 'media_libdav1d_asm',
|
|
|
481763 |
'mozva'
|
|
|
481763 |
]
|
|
|
481763 |
|