Skip to content

Commit 65d3f7b

Browse files
committed
Updates to v3.5.10 / v1.1.28
* Engine: Fixes an issue with engine's thread for stats calculation while using multiple players * Config: Adds Config.Subtitles.Parser for custom formatting/parsing * Config: Adds Config.Player.MaxLatency for the new low latency with audio implementation which is embedded to default AVS usage * Player: Fixes a thread safety issue during Stop and Open/OpenAsync/Config.Video.AspectRatio change * Player: Adds Usage.ZeroLatencyAudioVideo for another low latency which supports audio with (no respect to min buffer or max latency) * Player: Improves speed playback * Plugins: Improves handling with media file extensions * Renderer: Fixes a rendering issue while the Player was buffering (no layout update) * VideoView: Fixes an issue with jitter while dragging (DPI) * VideoView: Fixes an issue with Subscribe Events on early player assignment (mainly for front window) * VideoView: Fixes an issue with front window's visibility * VideoView: Fixes an issue with early actions (eg. swapping when collapsed in a tab control) before the template has been applied by creating winforms control earlier * Controls.WPF: Includes the new Max Latency in Settings * Controls.WPF: Updates FlyleafLib, MaterialDesign and Dragablz
1 parent 49f6cb2 commit 65d3f7b

5 files changed

Lines changed: 23 additions & 13 deletions

File tree

FlyleafLib.Controls.WPF/FlyleafLib.Controls.WPF.csproj

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>net6.0-windows;net5.0-windows;net472</TargetFrameworks>
55
<UseWindowsForms>true</UseWindowsForms>
66
<UseWPF>true</UseWPF>
7-
<Version>1.1.27</Version>
7+
<Version>1.1.28</Version>
88
<Authors>SuRGeoNix</Authors>
99
<Copyright>SuRGeoNix © 2022</Copyright>
1010
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
@@ -14,15 +14,14 @@
1414
<PackageTags>flyleaf flyleaflib video audio media player element control</PackageTags>
1515
<Description>WPF Media Player Control/Element (based on FlyleafLib)</Description>
1616
<PackageReleaseNotes>
17-
* Introduces ThemeLoaded event to properly manually change theme colors if required
18-
* Updates FlyleafLib
17+
* Includes the new Max Latency in Settings
18+
* Updates FlyleafLib, MaterialDesign and Dragablz
1919
</PackageReleaseNotes>
2020
</PropertyGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="Dragablz" Version="0.0.3.223" />
24-
<PackageReference Include="MaterialDesignColors" Version="2.0.5-ci45" />
25-
<PackageReference Include="MaterialDesignThemes" Version="4.4.0-ci45" />
23+
<PackageReference Include="Dragablz" Version="0.0.3.234" />
24+
<PackageReference Include="MaterialDesignThemes" Version="4.6.1" />
2625
<PackageReference Include="WpfColorFontDialog" Version="1.0.8" />
2726
</ItemGroup>
2827

FlyleafLib/Controls/WPF/VideoView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public override void OnApplyTemplate()
122122
WindowFront.Owner = WindowBack;
123123
}
124124

125-
if (Player != null && Player.VideoView == null)
125+
if (Player != null)
126126
{
127127
UniqueId = Player.PlayerId;
128128
Player.VideoView= this;

FlyleafLib/FlyleafLib.csproj

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageIconUrl />
99
<RepositoryUrl></RepositoryUrl>
1010
<Description>Media Player .NET Library for WPF/WinForms (based on FFmpeg/DirectX)</Description>
11-
<Version>3.5.9</Version>
11+
<Version>3.5.10</Version>
1212
<Authors>SuRGeoNix</Authors>
1313
<Copyright>SuRGeoNix © 2022</Copyright>
1414
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
@@ -17,10 +17,18 @@
1717
<IncludeSymbols>true</IncludeSymbols>
1818
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1919
<PackageReleaseNotes>
20-
* Player: Fixes an audio / video delay sync issue
21-
* Player: Fixes an issue with TakeSnapshot (GetBitmap) methods after stopping the player
22-
* Config: Fixes an issue while changing MaxVideoFrames value
23-
* Updates Vortice
20+
* Engine: Fixes an issue with engine's thread for stats calculation while using multiple players
21+
* Config: Adds Config.Subtitles.Parser for custom formatting/parsing
22+
* Config: Adds Config.Player.MaxLatency for the new low latency with audio implementation which is embedded to default AVS usage
23+
* Player: Fixes a thread safety issue during Stop and Open/OpenAsync/Config.Video.AspectRatio change
24+
* Player: Adds Usage.ZeroLatencyAudioVideo for another low latency which supports audio with (no respect to min buffer or max latency)
25+
* Player: Improves speed playback
26+
* Plugins: Improves handling with media file extensions
27+
* Renderer: Fixes a rendering issue while the Player was buffering (no layout update)
28+
* VideoView: Fixes an issue with jitter while dragging (DPI)
29+
* VideoView: Fixes an issue with Subscribe Events on early player assignment (mainly for front window)
30+
* VideoView: Fixes an issue with front window's visibility
31+
* VideoView: Fixes an issue with early actions (eg. swapping when collapsed in a tab control) before the template has been applied by creating winforms control earlier
2432
</PackageReleaseNotes>
2533
</PropertyGroup>
2634

FlyleafLib/MediaPlayer/Player.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,10 @@ private void SetControl(Flyleaf oldValue, Flyleaf newValue)
433433
if (oldValue != null)
434434
{
435435
if (oldValue.Handle == newValue.Handle)
436+
{
437+
SubscribeEvents();
436438
return;
439+
}
437440

438441
throw new Exception("Cannot change Player's control");
439442
}

Samples/FlyleafPlayer (WPF Control) (WPF)/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xmlns:flwpf="clr-namespace:FlyleafLib.Controls.WPF;assembly=FlyleafLib.Controls.WPF"
1010

1111
mc:Ignorable="d"
12-
Title="Flyleaf v3.5.8" Height="450" Width="800" Background="Black" Loaded="Window_Loaded" Icon="/Flyleaf.ico">
12+
Title="Flyleaf v3.5.10" Height="450" Width="800" Background="Black" Loaded="Window_Loaded" Icon="/Flyleaf.ico">
1313
<Grid>
1414
<fl:VideoView Player="{Binding Player}">
1515
<Grid>

0 commit comments

Comments
 (0)