Skip to content

Commit

Permalink
fix: temporarily disable the use of DXVA2 because of an error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd committed Dec 5, 2024
1 parent f46e582 commit 46d212a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Beutl.Extensions.MediaFoundation/Decoding/MFDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public MFDecoder(string file, MediaOptions options, MFDecodingExtension extensio
_sampleCache =
new MFSampleCache(new(extension.Settings.MaxVideoBufferSize, extension.Settings.MaxAudioBufferSize));

_useDXVA2 = InitializeDXVA2(extension.Settings.UseDXVA2);
_useDXVA2 = InitializeDXVA2(false /* extension.Settings.UseDXVA2 */);

try
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class MFDecodingSettings : ExtensionSettings
static MFDecodingSettings()
{
UseDXVA2Property = ConfigureProperty<bool, MFDecodingSettings>(nameof(UseDXVA2))
.DefaultValue(true)
.DefaultValue(false)
.Register();

ThresholdFrameCountProperty = ConfigureProperty<int, MFDecodingSettings>(nameof(ThresholdFrameCount))
Expand Down

0 comments on commit 46d212a

Please sign in to comment.