Fix 2nd window with video opening.
This commit is contained in:
parent
f322f6b2b8
commit
463b142b48
8
.vscode/settings.json
vendored
Normal file
8
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"files.associations": {
|
||||||
|
"*.tcc": "cpp",
|
||||||
|
"fstream": "cpp",
|
||||||
|
"typeinfo": "cpp",
|
||||||
|
"qprocess": "cpp"
|
||||||
|
}
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue