-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libmpv: resize glitches when embedding video window into layer backed NSView #2873
Comments
Yeah, native embedding mode can be glitchy. I'm not sure what exactly might be causing it, or if it's fixable in theory. The recommendation is using opengl-cb embedding instead. |
Thanks! I'll try this tomorrow, but it is stable enough? |
It's certainly more stable than the window embedding method, but also requires more work in certain areas. I recommend reading the documentation and examples. |
Ok, thanks for suggesting! 27 февр. 2016 г., 1:44 +0300, V. Langnotifications@github.com, писал:
|
since the video was taken down i am not sure which glitches were reported here. PR #4391 switches to a layer backed view and also fixes most of the glitches i encountered. so it should also fix this issue. if you still can test it feel free to. |
I experimented a lot with layer backed views and i never got it to work properly with an NSOpenGLContext. the Apple preferred way is to use a CAOpenGLLayer, which the new cocoa-cb backend for opengl-cb uses. sadly the CAOpenGLLayer is mutually exclusive to our gpu cocoa backend, so it's impossible to use there. additionally i deprecated the cocoa backend. |
I've record a demo
I using ffmpeg and mpv from HEAD
The text was updated successfully, but these errors were encountered: