Merge branch 'avplayer_improvements' of https://github.com/sharpemu/sharpemu into avplayer_improvements

This commit is contained in:
ParantezTech
2026-07-31 01:16:08 +03:00
@@ -22,8 +22,8 @@ public static class AvPlayerExports
private const int FrameHeightAlignment = 16; private const int FrameHeightAlignment = 16;
private const int FrameInfoSize = 40; private const int FrameInfoSize = 40;
private const int FrameInfoExSize = 104; private const int FrameInfoExSize = 104;
// This structure is 32 bytes. A larger write can damage the guest stack. // type(4) + reserved(4) + details(16) + duration(8) + startTime(8).
private const int StreamInfoSize = 32; private const int StreamInfoSize = 40;
private const int StreamInfoExSize = 32; private const int StreamInfoExSize = 32;
private const int MaxGuestPathLength = 4096; private const int MaxGuestPathLength = 4096;
private static readonly object StateGate = new(); private static readonly object StateGate = new();