summaryrefslogtreecommitdiff
path: root/mozilla-1632059.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-05-29 11:31:41 +0200
committerMartin Stransky <stransky@redhat.com>2020-05-29 11:31:41 +0200
commit5116ef14ae33365e43aa45375df466917fbda054 (patch)
tree8ca517d917d299d216e15e20fb965748960de7d8 /mozilla-1632059.patch
parentAdded fix for mozbz#1632456 (diff)
downloadlibrewolf-fedora-ff-5116ef14ae33365e43aa45375df466917fbda054.tar.gz
librewolf-fedora-ff-5116ef14ae33365e43aa45375df466917fbda054.tar.bz2
librewolf-fedora-ff-5116ef14ae33365e43aa45375df466917fbda054.zip
Updated to 77.0
Diffstat (limited to 'mozilla-1632059.patch')
-rw-r--r--mozilla-1632059.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/mozilla-1632059.patch b/mozilla-1632059.patch
deleted file mode 100644
index b051e98..0000000
--- a/mozilla-1632059.patch
+++ /dev/null
@@ -1,41 +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
-@@ -178,7 +178,12 @@
- AVHWDeviceContext* hwctx = (AVHWDeviceContext*)mVAAPIDeviceContext->data;
- AVVAAPIDeviceContext* vactx = (AVVAAPIDeviceContext*)hwctx->hwctx;
-
-- mDisplay = mLib->vaGetDisplayWl(widget::WaylandDisplayGet()->GetDisplay());
-+ wl_display* display = widget::WaylandDisplayGetWLDisplay();
-+ if (!display) {
-+ FFMPEG_LOG("Can't get default wayland display.");
-+ return false;
-+ }
-+ mDisplay = mLib->vaGetDisplayWl(display);
-
- hwctx->user_opaque = new VAAPIDisplayHolder(mLib, mDisplay);
- hwctx->free = VAAPIDisplayReleaseCallback;
-diff --git a/widget/gtk/nsWaylandDisplay.cpp b/widget/gtk/nsWaylandDisplay.cpp
---- a/widget/gtk/nsWaylandDisplay.cpp
-+++ b/widget/gtk/nsWaylandDisplay.cpp
-@@ -35,6 +35,9 @@
- wl_display* WaylandDisplayGetWLDisplay(GdkDisplay* aGdkDisplay) {
- if (!aGdkDisplay) {
- aGdkDisplay = gdk_display_get_default();
-+ if (!aGdkDisplay || GDK_IS_X11_DISPLAY(aGdkDisplay)) {
-+ return nullptr;
-+ }
- }
-
- // Available as of GTK 3.8+
-@@ -537,8 +540,7 @@
- StaticPrefs::widget_wayland_dmabuf_webgl_enabled();
- }
- bool nsWaylandDisplay::IsDMABufVAAPIEnabled() {
-- return IsDMABufEnabled() &&
-- StaticPrefs::widget_wayland_dmabuf_vaapi_enabled();
-+ return StaticPrefs::widget_wayland_dmabuf_vaapi_enabled();
- }
-
- void* nsGbmLib::sGbmLibHandle = nullptr;
-
bgstack15