Skip to content

Commit

Permalink
FFMS_GetPixFmt string marshaling
Browse files Browse the repository at this point in the history
All that's left now to take care of this issue is to completely deal
with audio dumping.

See #8 and #4.
  • Loading branch information
nixxquality committed May 16, 2014
1 parent f25b7d8 commit a000930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FFMSsharp/FFMS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static partial class NativeMethods
public static extern void FFMS_SetLogLevel(int Level);

[DllImport("ffms2.dll", SetLastError = false)]
public static extern int FFMS_GetPixFmt(string Name);
public static extern int FFMS_GetPixFmt([MarshalAs(UnmanagedType.LPStr)] string Name);

[DllImport("ffms2.dll", SetLastError = false)]
public static extern int FFMS_GetPresentSources();
Expand Down

0 comments on commit a000930

Please sign in to comment.