mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue