mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-13 11:20:31 +00:00
Fix android specific issue
This commit is contained in:
@@ -7,6 +7,7 @@ using System.IO;
|
||||
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;
|
||||
@@ -154,7 +155,7 @@ namespace osu.Framework.Android.Graphics.Video
|
||||
HardwareVideoDecoder targetHwDecoders
|
||||
)
|
||||
{
|
||||
if (targetHwDecoders.HasFlag(HardwareVideoDecoder.MediaCodec))
|
||||
if (targetHwDecoders.HasFlagFast(HardwareVideoDecoder.MediaCodec))
|
||||
{
|
||||
string? formatName = Marshal.PtrToStringAnsi((IntPtr)inputFormat->name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user