mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-27 07:24:51 +00:00
MapInfo: Fix Data property
This commit is contained in:
parent
0647ebb0c7
commit
8391bb849a
1 changed files with 2 additions and 2 deletions
|
@ -27,14 +27,14 @@ namespace Gst {
|
|||
|
||||
partial struct MapInfo
|
||||
{
|
||||
byte[] Data {
|
||||
public byte[] Data {
|
||||
get {
|
||||
byte[] data = new byte[Size];
|
||||
Marshal.Copy (_data, data, 0, (int)Size);
|
||||
return data;
|
||||
}
|
||||
set {
|
||||
Marshal.Copy (Data, 0, _data, Data.Length);
|
||||
Marshal.Copy (value, 0, _data, Data.Length);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue