1
0
Fork 0

Fix 2nd window with video opening.

This commit is contained in:
NamedKitten 2018-10-18 09:45:28 +01:00
parent f322f6b2b8
commit 463b142b48
2 changed files with 10 additions and 0 deletions

8
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"files.associations": {
"*.tcc": "cpp",
"fstream": "cpp",
"typeinfo": "cpp",
"qprocess": "cpp"
}
}

View file

@ -176,6 +176,8 @@ MpvObject::MpvObject(QQuickItem * parent)
#ifndef USE_RENDER #ifndef USE_RENDER
mpv::qt::set_option_variant(mpv, "vo", "opengl-cb"); mpv::qt::set_option_variant(mpv, "vo", "opengl-cb");
#else
mpv::qt::set_option_variant(mpv, "vo", "libmpv");
#endif #endif
// Enable default bindings, because we're lazy. Normally, a player using // Enable default bindings, because we're lazy. Normally, a player using