mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-12-03 20:01:50 +01:00
mpv's render API needs the windowing system's display connection to set up hardware decoding that hands frames to GL on Intel and AMD (render_gl.h: MPV_RENDER_PARAM_WL_DISPLAY / X11_DISPLAY). The render context was created with neither, so hwdec=auto-safe fell back to software decoding or copied every frame back to system memory. The display under eframe's window is now passed through VideoSurface into VideoRenderer, and the decoder in use is logged once per file as hwdec-current. B76.