removed unused patch
This commit is contained in:
parent
f82b7171e2
commit
b44a1c8983
@ -187,7 +187,6 @@ Patch574: firefox-pipewire-0-2.patch
|
|||||||
Patch575: firefox-pipewire-0-3.patch
|
Patch575: firefox-pipewire-0-3.patch
|
||||||
|
|
||||||
#VA-API patches
|
#VA-API patches
|
||||||
Patch579: mozilla-1625431.patch
|
|
||||||
Patch584: firefox-disable-ffvpx-with-vapi.patch
|
Patch584: firefox-disable-ffvpx-with-vapi.patch
|
||||||
Patch585: firefox-vaapi-extra-frames.patch
|
Patch585: firefox-vaapi-extra-frames.patch
|
||||||
Patch586: mozilla-1619882-1.patch
|
Patch586: mozilla-1619882-1.patch
|
||||||
@ -398,7 +397,6 @@ This package contains results of tests executed during build.
|
|||||||
%patch575 -p1 -b .firefox-pipewire-0-3
|
%patch575 -p1 -b .firefox-pipewire-0-3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch579 -p1 -b .mozilla-1625431
|
|
||||||
%patch584 -p1 -b .firefox-disable-ffvpx-with-vapi
|
%patch584 -p1 -b .firefox-disable-ffvpx-with-vapi
|
||||||
%patch585 -p1 -b .firefox-vaapi-extra-frames
|
%patch585 -p1 -b .firefox-vaapi-extra-frames
|
||||||
%patch586 -p1 -b .mozilla-1619882-1
|
%patch586 -p1 -b .mozilla-1619882-1
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
diff --git a/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp b/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
|
|
||||||
--- a/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
|
|
||||||
+++ b/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
|
|
||||||
@@ -172,6 +172,15 @@
|
|
||||||
MediaResult FFmpegVideoDecoder<LIBAV_VER>::InitVAAPIDecoder() {
|
|
||||||
FFMPEG_LOG("Initialising VA-API FFmpeg decoder");
|
|
||||||
|
|
||||||
+ auto layersBackend = mImageAllocator
|
|
||||||
+ ? mImageAllocator->GetCompositorBackendType()
|
|
||||||
+ : layers::LayersBackend::LAYERS_BASIC;
|
|
||||||
+ if (layersBackend != layers::LayersBackend::LAYERS_OPENGL &&
|
|
||||||
+ layersBackend != layers::LayersBackend::LAYERS_WR) {
|
|
||||||
+ FFMPEG_LOG("VA-API works with HW accelerated backend only!");
|
|
||||||
+ return NS_ERROR_NOT_AVAILABLE;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
if (!mLib->IsVAAPIAvailable()) {
|
|
||||||
FFMPEG_LOG("libva library or symbols are missing.");
|
|
||||||
return NS_ERROR_NOT_AVAILABLE;
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user