Skip to content

Commit

Permalink
Remove one more HasFlagFast() usage in android project
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Jul 2, 2024
1 parent b4aa486 commit c85d99b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions osu.Framework.Android/Graphics/Video/AndroidVideoDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Runtime.InteropServices;
using FFmpeg.AutoGen;
using Java.Interop;
using osu.Framework.Extensions.EnumExtensions;
using osu.Framework.Graphics.Rendering;
using osu.Framework.Graphics.Video;
using osu.Framework.Logging;
Expand Down Expand Up @@ -155,7 +154,7 @@ public AndroidVideoDecoder(IRenderer renderer, Stream videoStream)
HardwareVideoDecoder targetHwDecoders
)
{
if (targetHwDecoders.HasFlagFast(HardwareVideoDecoder.MediaCodec))
if (targetHwDecoders.HasFlag(HardwareVideoDecoder.MediaCodec))
{
string? formatName = Marshal.PtrToStringAnsi((IntPtr)inputFormat->name);

Expand Down

0 comments on commit c85d99b

Please sign in to comment.