[MediaCodec] Fix the bug of callback registration (#942)
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia.MediaCodec / Interop / Interop.MediaCodec.cs
index e7f3f2b..8d75556 100644 (file)
@@ -35,7 +35,7 @@ internal static partial class Interop
         internal delegate void EosCallback(IntPtr arg);
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
-        internal delegate void BufferStatusCallback(int statusCode, IntPtr arg);
+        internal delegate void BufferStatusCallback(MediaCodecStatus statusCode, IntPtr arg);
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
         internal delegate bool SupportedCodecCallback(int codecType, IntPtr arg);