remove console-scale fix

This commit is contained in:
Frank Skare
2021-09-05 22:51:09 +02:00
parent c075278180
commit 1e886fc124
2 changed files with 1 additions and 7 deletions

View File

@@ -227,12 +227,6 @@ namespace mpvnet
if (!File.Exists(_ConfigFolder + "mpv.conf"))
{
string conf = Properties.Resources.mpv_conf;
float scale = Native.GetDPI(IntPtr.Zero) / 96.0f;
if (scale != 1)
conf = conf.Replace("console-scale=1", "console-scale=" +
scale.ToString(CultureInfo.InvariantCulture));
File.WriteAllText(_ConfigFolder + "mpv.conf", conf);
}
}

View File

@@ -6,6 +6,6 @@ keep-open = yes
keep-open-pause = no
osd-duration = 2000
osd-playing-msg = '${filename}'
script-opts = osc-scalewindowed=1.5,osc-hidetimeout=2000,console-scale=1
script-opts = osc-scalewindowed=1.5,osc-hidetimeout=2000,console-scale=1.5
screenshot-directory = '~~desktop/'
watch-later-options = mute