mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
Fixed compilation with recent gapi changes Fixed missing namespace error in Version.cs
This commit is contained in:
parent
a65a26c930
commit
70a42dea54
2 changed files with 1 additions and 3 deletions
|
@ -51,7 +51,6 @@ namespace Gst {
|
||||||
|
|
||||||
public GLib.Value StreamStatusObject {
|
public GLib.Value StreamStatusObject {
|
||||||
get {
|
get {
|
||||||
Update ();
|
|
||||||
if(Type != MessageType.StreamStatus)
|
if(Type != MessageType.StreamStatus)
|
||||||
throw new ArgumentException ();
|
throw new ArgumentException ();
|
||||||
IntPtr raw_ret = gst_message_get_stream_status_object(Handle);
|
IntPtr raw_ret = gst_message_get_stream_status_object(Handle);
|
||||||
|
@ -59,7 +58,6 @@ namespace Gst {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
Update ();
|
|
||||||
if(Type != MessageType.StreamStatus)
|
if(Type != MessageType.StreamStatus)
|
||||||
throw new ArgumentException ();
|
throw new ArgumentException ();
|
||||||
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
|
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace Gst {
|
||||||
get {
|
get {
|
||||||
if (version_string == null) {
|
if (version_string == null) {
|
||||||
IntPtr version_string_ptr = gst_version_string();
|
IntPtr version_string_ptr = gst_version_string();
|
||||||
version_string = Gst.GLib.Marshaller.Utf8PtrToString (version_string_ptr);
|
version_string = GLib.Marshaller.Utf8PtrToString (version_string_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
return version_string;
|
return version_string;
|
||||||
|
|
Loading…
Reference in a new issue