Skip to content

Commit

Permalink
Updates to v3.7.38 (FlyleafLib) / v1.2.34 (FlyleafME) / v1.0.20 (Flyl…
Browse files Browse the repository at this point in the history
…eafHost.WinUI)

- Engine.Audio: Adds support for endpoints with the same FriendlyName but different Id
- Engine.Audio: Fixes a deadlock issue duing device removal when the device was assigned to a player
- Config: Introduces Decoder.AudioCodecOpt/VideoCodecOpt/SubtitlesCodecOpt to support all codec options per codec type
- Config: Introduces Decoder.LowDelay which improves low latency and will be auto-enabled with Player.MaxLatency
- FlyeafME: Adds Current Default Device in Audio tab

[Breaking Changes]
- Engine.Audio.GetDeviceId/GetDeviceName methods removed
- Engine.Audio.Devices changed from ObservableCollection<string> to ObservableCollection<AudioEndPoint>
- Player.Audio.Device changed from string to AudioEndPoint (can be found in Engine.Audio.Devices)
- Player.Audio.DeviceId has been removed
  • Loading branch information
SuRGeoNix committed Dec 10, 2023
1 parent 9d1a9e9 commit 57941ad
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
5 changes: 3 additions & 2 deletions FlyleafLib.Controls.WPF/FlyleafLib.Controls.WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net8.0-windows;net6.0-windows;net472</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>
<Version>1.2.33</Version>
<Version>1.2.34</Version>
<Authors>SuRGeoNix</Authors>
<Copyright>SuRGeoNix © 2023</Copyright>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
Expand All @@ -14,7 +14,8 @@
<PackageTags>flyleaf flyleaflib flyleafme video audio wpf media player element control</PackageTags>
<Description>FlyleafME: A WPF Media Element Control (based on FlyleafLib)</Description>
<PackageReleaseNotes>
Updates FlyleafLib
- Adds Current Default Device in Audio tab
- Updates FlyleafLib
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
5 changes: 2 additions & 3 deletions FlyleafLib.Controls.WinUI/FlyleafLib.Controls.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
<UseWinUI>true</UseWinUI>
<Nullable>enable</Nullable>
<Authors>SuRGeoNix</Authors>
<Version>1.0.19</Version>
<Version>1.0.20</Version>
<Copyright>SuRGeoNix © 2023</Copyright>
<PackageProjectUrl>https://github.com/SuRGeoNix/Flyleaf</PackageProjectUrl>
<PackageIcon>Flyleaf.png</PackageIcon>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<PackageTags>flyleaf flyleaflib flyleafhost video audio winui media player element control</PackageTags>
<Description>FlyleafHost.WinUI: Direct3D 11 Hardware Accelerated Media Surface (based on FlyleafLib)</Description>
<PackageReleaseNotes>
- FlyleafHost.WinUI: Fixes a DPI issue
- Updates FlyleafLib
Updates FlyleafLib
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-windows10.0.19041.0|AnyCPU'">
Expand Down
15 changes: 11 additions & 4 deletions FlyleafLib/FlyleafLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageIconUrl />
<RepositoryUrl></RepositoryUrl>
<Description>Media Player .NET Library for WinUI 3/WPF/WinForms (based on FFmpeg/DirectX)</Description>
<Version>3.7.36</Version>
<Version>3.7.38</Version>
<Authors>SuRGeoNix</Authors>
<Copyright>SuRGeoNix © 2023</Copyright>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
Expand All @@ -17,9 +17,16 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageReleaseNotes>
- Decoders: Ensures the codec context will be initialized with the codec-specific defaults by specifying the input codec
- Demuxer: Fixes a critical issue with NoTimestamps formats and packet queue (could cause high cpu and memory leaks)
- Demuxer: Few improvements for NoTimestamps formats
- Engine.Audio: Adds support for endpoints with the same FriendlyName but different Id
- Engine.Audio: Fixes a deadlock issue duing device removal when the device was assigned to a player
- Config: Introduces Decoder.AudioCodecOpt/VideoCodecOpt/SubtitlesCodecOpt to support all codec options per codec type
- Config: Introduces Decoder.LowDelay which improves low latency and will be auto-enabled with Player.MaxLatency

[Breaking Changes]
- Engine.Audio.GetDeviceId/GetDeviceName methods removed
- Engine.Audio.Devices changed from ObservableCollection&gt;string&lt; to ObservableCollection&gt;AudioEndPoint&lt;
- Player.Audio.Device changed from string to AudioEndPoint (can be found in Engine.Audio.Devices)
- Player.Audio.DeviceId has been removed
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion FlyleafLib/MediaFramework/MediaDecoder/DecoderBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected string Open2(StreamBase stream, StreamBase prevStream, bool openStream
AVDictionaryEntry *t = null;

while ((t = av_dict_get(avopt, "", t, AV_DICT_IGNORE_SUFFIX)) != null)
Log.Debug($"Ignoring codec option {Utils.BytePtrToStringUTF8(t->key)}");
Log.Debug($"Ignoring codec option {Utils.BytePtrToStringUTF8(t->key)}");
}

av_dict_free(&avopt);
Expand Down

0 comments on commit 57941ad

Please sign in to comment.