Comments (5)
Does this work?
diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c
index ce86570efe..da28093562 100644
--- a/video/out/opengl/context_drm_egl.c
+++ b/video/out/opengl/context_drm_egl.c
@@ -491,7 +491,8 @@ static void drm_egl_uninit(struct ra_ctx *ctx)
if (p->gbm.surface)
gbm_surface_destroy(p->gbm.surface);
eglTerminate(p->egl.display);
- gbm_device_destroy(p->gbm.device);
+ if (p->gbm.device)
+ gbm_device_destroy(p->gbm.device);
if (p->drm_params.render_fd != -1)
close(p->drm_params.render_fd);
from mpv.
Another workaround would be explicitly setting vo
to libmpv
in RSS Guard but indeed we shouldn't be segfaulting during probing.
from mpv.
Thanks for the heads up.
I may have to do that anyway, because with 0.38.0, playing any video causes a detached mpv window to pop up, instead of the old behavior where mpv would be embedded to RSS Guard's player (due to libmpv being the default back then, I suppose).
Additionally, I'm seeing another crash in a Qt-related thread after I play any video for the second time, which I'll have to investigate too (it's most likely unrelated to libmpv, though).
Thanks again.
from mpv.
Here are most of the options RSS Guard passes to libmpv:
It's probably worth noting that my GPU driver doesn't really support GBM (as far as I understand), which seems to be related to the crash, given the backtrace information.
from mpv.
Yup, that did it! Thank you very much for the quick fix. :D
from mpv.
Related Issues (20)
- How to change the vertical position of the floating progress bar Or how to hide the floating progress bar? HOT 1
- Please considering remove `smb` from `X-KDE-Protocols` in desktop entry. HOT 2
- `--no-title-bar` mode the title bar appears after toggling fullscreen and window-maximized HOT 4
- Please allow users to disable and hide the floating progress bar completely. HOT 2
- Changes in mpv output log HOT 7
- why if do not use '--playlist' to open playlist in 0.38, playlist items randomize HOT 1
- Audio and Video go out of sync when using video-sync=display-resample
- With [vo=direct3d], mpv does not render osc/osd/logo when opening app without playing file (idle mode)
- [question] is there a limit to entries for m3u playlist files in mpv? HOT 10
- wasapi Dolby THD channel confusion can we use LAV Filters HOT 23
- What are the units of the equalizer? HOT 4
- v0.37.0 v0.38.0 high gpu usage in win10 22h2 HOT 1
- A way to disable a command's repeatability (I need it for volume) HOT 2
- Behaviour changed on duration = 0 or N/A tracks : Is that intentional?? HOT 5
- MPV dragging/resizing window lag on MacOS (Apple SIlicon) HOT 8
- Allow notify subtilte to upper app through event HOT 6
- Wrong metadata handling when file has min: 0.0000 cd/m2, max: 1000 cd/m2 values HOT 8
- Show codec flavor in stats also in passthrough mode HOT 1
- Disable Night color on KDE temporarily HOT 2
- Video drops frame when using --interpolation and --video-sync=display-resample along with Vulkan video decoding HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv.