Fix for pointer arithmetic error in DynamicSignal.cs
Marshal.ReadIntPtr offset property is in byte. https://bugzilla.gnome.org/show_bug.cgi?id=796497
This commit is contained in:
parent
a4223fcb42
commit
10f0476c9f
@ -383,7 +383,7 @@ namespace Gst
|
||||
query.param_types = new Type[q.n_params];
|
||||
|
||||
for (int i = 0; i < query.n_params; i++) {
|
||||
IntPtr t = Marshal.ReadIntPtr (q.param_types, i);
|
||||
IntPtr t = Marshal.ReadIntPtr (q.param_types, i * IntPtr.Size);
|
||||
GType g = new GType (t);
|
||||
|
||||
query.param_types [i] = (Type)g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user