5.4.4.2
This commit is contained in:
24
Changelog.md
24
Changelog.md
@@ -1,21 +1,29 @@
|
|||||||
|
|
||||||
### 5.4.4.2
|
### 5.4.4.2
|
||||||
|
|
||||||
|
- update: libmpv shinchiro 0.32.0-258-g281f5c63c1
|
||||||
|
- update: youtube-dl
|
||||||
|
|
||||||
|
- new: d3d11va-zero-copy setting added to conf editor
|
||||||
|
- new: hdr-compute-peak setting added to conf editor
|
||||||
- new: flag cli switches support now `--no-flag` in addition to `--flag=no`
|
- new: flag cli switches support now `--no-flag` in addition to `--flag=no`
|
||||||
https://mpv.io/manual/master/#usage
|
https://mpv.io/manual/master/#usage
|
||||||
- new: cli switches can also start with single `-` instead of double `--`
|
- new: cli switches can also start with single `-` instead of double `--`
|
||||||
https://mpv.io/manual/master/#legacy-option-syntax
|
https://mpv.io/manual/master/#legacy-option-syntax
|
||||||
- new: the PowerShell script host was completely rewritten, events can be assigned
|
- new: PowerShell script host was completely rewritten, events can be assigned
|
||||||
to using `Register-ObjectEvent`, the scripting wiki page was updated
|
by using `Register-ObjectEvent`, the scripting wiki page was updated
|
||||||
https://github.com/stax76/mpv.net/wiki/Scripting#powershell
|
https://github.com/stax76/mpv.net/wiki/Scripting#powershell
|
||||||
- new: Context Menu > View > Show Profiles
|
- new: Context Menu > View > Show Profiles
|
||||||
https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt#L147
|
https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt#L147
|
||||||
- new: various default were improved
|
- new: Context Menu > View > Show Properties
|
||||||
https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/mpv.conf.txt
|
https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt#L148
|
||||||
|
- new: Context Menu > View > Show Commands
|
||||||
### 5.4.4.1
|
https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt#L149
|
||||||
|
- new: config editor tab is now remembered
|
||||||
- new: external OSD console replaced with internal OSD console
|
- new: osd-duration setting added to config editor and default mpv.conf
|
||||||
|
- new: external console replaced with internal console, in case mpv.conf is missing it's
|
||||||
|
generated with correct Hight DPI font settings: `script-opts=console-scale=<dpiscale>`
|
||||||
|
https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt#L150
|
||||||
https://mpv.io/manual/master/#console
|
https://mpv.io/manual/master/#console
|
||||||
- new: blue color in dark theme is now less intense
|
- new: blue color in dark theme is now less intense
|
||||||
https://github.com/stax76/mpv.net/blob/master/Manual.md#color-theme
|
https://github.com/stax76/mpv.net/blob/master/Manual.md#color-theme
|
||||||
|
|||||||
@@ -152,6 +152,25 @@ help = "Enable the debanding algorithm. This greatly reduces the amount of visib
|
|||||||
options = [{ name = "yes" },
|
options = [{ name = "yes" },
|
||||||
{ name = "no" }]
|
{ name = "no" }]
|
||||||
|
|
||||||
|
[[settings]]
|
||||||
|
name = "d3d11va-zero-copy"
|
||||||
|
file = "mpv"
|
||||||
|
default = "no"
|
||||||
|
filter = "Video"
|
||||||
|
help = "By default, when using hardware decoding with --gpu-api=d3d11, the video image will be copied (GPU-to-GPU) from the decoder surface to a shader resource. Set this option to avoid that copy by sampling directly from the decoder image. This may increase performance and reduce power usage, but can cause the image to be sampled incorrectly on the bottom and right edges due to padding, and may invoke driver bugs, since Direct3D 11 technically does not allow sampling from a decoder surface (though most drivers support it.)"
|
||||||
|
options = [{ name = "yes" },
|
||||||
|
{ name = "no" }]
|
||||||
|
|
||||||
|
[[settings]]
|
||||||
|
name = "hdr-compute-peak"
|
||||||
|
file = "mpv"
|
||||||
|
default = "auto"
|
||||||
|
filter = "Video"
|
||||||
|
help = "Compute the HDR peak and frame average brightness per-frame instead of relying on tagged metadata. These values are averaged over local regions as well as over several frames to prevent the value from jittering around too much. This option basically gives you dynamic, per-scene tone mapping. Requires compute shaders, which is a fairly recent OpenGL feature, and will probably also perform horribly on some drivers, so enable at your own risk. The special value auto (default) will enable HDR peak computation automatically if compute shaders and SSBOs are supported."
|
||||||
|
options = [{ name = "auto" },
|
||||||
|
{ name = "yes" },
|
||||||
|
{ name = "no" }]
|
||||||
|
|
||||||
[[settings]]
|
[[settings]]
|
||||||
name = "volume"
|
name = "volume"
|
||||||
file = "mpv"
|
file = "mpv"
|
||||||
@@ -276,6 +295,12 @@ file = "mpv"
|
|||||||
filter = "Screen"
|
filter = "Screen"
|
||||||
help = "Specify the OSD font size. See sub-font-size for details. Default: 55"
|
help = "Specify the OSD font size. See sub-font-size for details. Default: 55"
|
||||||
|
|
||||||
|
[[settings]]
|
||||||
|
name = "osd-duration"
|
||||||
|
file = "mpv"
|
||||||
|
filter = "Screen"
|
||||||
|
help = "Set the duration of the OSD messages in ms. Default: 1000"
|
||||||
|
|
||||||
[[settings]]
|
[[settings]]
|
||||||
name = "osd-scale-by-window"
|
name = "osd-scale-by-window"
|
||||||
file = "mpv"
|
file = "mpv"
|
||||||
@@ -310,7 +335,7 @@ default = "previous"
|
|||||||
filter = "Screen"
|
filter = "Screen"
|
||||||
help = "Setting to remember the window height in the current session, otherwise the video's native resolution is used. (mpv.net specific setting)"
|
help = "Setting to remember the window height in the current session, otherwise the video's native resolution is used. (mpv.net specific setting)"
|
||||||
options = [{ name = "video", help = "Window size is set to native video resolution" },
|
options = [{ name = "video", help = "Window size is set to native video resolution" },
|
||||||
{ name = "previous", help = "Window size is remembered but only from the current session" }]
|
{ name = "previous", help = "Window size is remembered but only in the current session" }]
|
||||||
|
|
||||||
[[settings]]
|
[[settings]]
|
||||||
name = "start-threshold"
|
name = "start-threshold"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<Grid>
|
<Grid>
|
||||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||||
<TextBlock FontSize="48" HorizontalAlignment="Center" Margin="0,0,0,10">mpv.net</TextBlock>
|
<TextBlock FontSize="48" HorizontalAlignment="Center" Margin="0,0,0,10">mpv.net</TextBlock>
|
||||||
<TextBlock HorizontalAlignment="Center">Copyright (c) 2017-2019 Frank Skare (stax76)</TextBlock>
|
<TextBlock HorizontalAlignment="Center">Copyright (C) 2017-2020 Frank Skare (stax76)</TextBlock>
|
||||||
<TextBlock Name="Version" HorizontalAlignment="Center" />
|
<TextBlock Name="Version" HorizontalAlignment="Center" />
|
||||||
<TextBlock Name="mpvVersion" HorizontalAlignment="Center" />
|
<TextBlock Name="mpvVersion" HorizontalAlignment="Center" />
|
||||||
<TextBlock HorizontalAlignment="Center" Margin="0,0,0,20">MIT License</TextBlock>
|
<TextBlock HorizontalAlignment="Center" Margin="0,0,0,20">MIT License</TextBlock>
|
||||||
|
|||||||
@@ -26,13 +26,14 @@
|
|||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<Controls:SearchTextBoxUserControl HintText="Find a setting"
|
<Controls:SearchTextBoxUserControl
|
||||||
x:Name="SearchControl"
|
x:Name="SearchControl"
|
||||||
|
HintText="Find a setting"
|
||||||
Width="250"
|
Width="250"
|
||||||
Margin="0,20,0,0"
|
Margin="0,20,0,0"
|
||||||
Grid.ColumnSpan="2"/>
|
Grid.ColumnSpan="2"/>
|
||||||
|
|
||||||
<ScrollViewer x:Name="MainScrollViewer"
|
<ScrollViewer Name="MainScrollViewer"
|
||||||
VerticalScrollBarVisibility="Auto"
|
VerticalScrollBarVisibility="Auto"
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
@@ -42,7 +43,7 @@
|
|||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
|
|
||||||
<StackPanel Margin="20,0,0,0" Grid.Row="1">
|
<StackPanel Margin="20,0,0,0" Grid.Row="1">
|
||||||
<ListBox x:Name="FilterListBox"
|
<ListBox Name="FilterListBox"
|
||||||
ItemsSource="{Binding FilterStrings}"
|
ItemsSource="{Binding FilterStrings}"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
SelectionChanged="FilterListBox_SelectionChanged"
|
SelectionChanged="FilterListBox_SelectionChanged"
|
||||||
@@ -56,10 +57,10 @@
|
|||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
|
|
||||||
<TextBlock x:Name="OpenSettingsTextBlock" Margin="0,30,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="OpenSettingsTextBlock_MouseUp">Open config folder</TextBlock>
|
<TextBlock Name="OpenSettingsTextBlock" Margin="0,30,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="OpenSettingsTextBlock_MouseUp">Open config folder</TextBlock>
|
||||||
<TextBlock x:Name="PreviewTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="PreviewTextBlock_MouseUp">Preview mpv.conf</TextBlock>
|
<TextBlock Name="PreviewTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="PreviewTextBlock_MouseUp">Preview mpv.conf</TextBlock>
|
||||||
<TextBlock x:Name="ShowManualTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="ShowManualTextBlock_MouseUp">Show mpv manual</TextBlock>
|
<TextBlock Name="ShowManualTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="ShowManualTextBlock_MouseUp">Show mpv manual</TextBlock>
|
||||||
<TextBlock x:Name="SupportTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="SupportTextBlock_MouseUp">Show support forum</TextBlock>
|
<TextBlock Name="SupportTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static UI:Theme.Heading}" MouseUp="SupportTextBlock_MouseUp">Show support forum</TextBlock>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
@@ -5,7 +5,6 @@ using System.Collections.ObjectModel;
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@@ -32,6 +31,7 @@ namespace mpvnet
|
|||||||
LoadSettings();
|
LoadSettings();
|
||||||
InitialContent = GetCompareString();
|
InitialContent = GetCompareString();
|
||||||
SearchControl.Text = RegistryHelp.GetString(App.RegPath, "ConfigEditorSearch");
|
SearchControl.Text = RegistryHelp.GetString(App.RegPath, "ConfigEditorSearch");
|
||||||
|
FilterListBox.SelectedItem = SearchControl.Text.TrimEnd(':');
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoadSettings()
|
void LoadSettings()
|
||||||
@@ -287,7 +287,8 @@ namespace mpvnet
|
|||||||
|
|
||||||
void FilterListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
void FilterListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.AddedItems.Count > 0) SearchControl.Text = e.AddedItems[0] + ":";
|
if (e.AddedItems.Count > 0)
|
||||||
|
SearchControl.Text = e.AddedItems[0] + ":";
|
||||||
}
|
}
|
||||||
|
|
||||||
void OpenSettingsTextBlock_MouseUp(object sender, MouseButtonEventArgs e)
|
void OpenSettingsTextBlock_MouseUp(object sender, MouseButtonEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user