mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
parent
6c1b52b76a
commit
579b8f3277
3 changed files with 3 additions and 2 deletions
|
@ -230,8 +230,8 @@ namespace Gst.GLib {
|
|||
foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) {
|
||||
if (ref_name.Name != asm_name)
|
||||
continue;
|
||||
string asm_dir = Path.GetDirectoryName (asm.Location);
|
||||
try {
|
||||
string asm_dir = Path.GetDirectoryName (asm.Location);
|
||||
Assembly ref_asm;
|
||||
if (File.Exists (Path.Combine (asm_dir, ref_name.Name + ".dll")))
|
||||
ref_asm = Assembly.LoadFrom (Path.Combine (asm_dir, ref_name.Name + ".dll"));
|
||||
|
|
|
@ -61,6 +61,7 @@ namespace Gst.GLib {
|
|||
// Both branches remove our delegate from the
|
||||
// managed list of handlers, but only
|
||||
// Source.Remove will remove it from the
|
||||
// unmanaged list also.
|
||||
|
||||
if (disposing)
|
||||
Remove ();
|
||||
|
|
|
@ -552,7 +552,7 @@ namespace Gst.GLib {
|
|||
else if (type == GType.UInt64.Val)
|
||||
g_value_set_uint64 (ref this, (ulong) value);
|
||||
else if (type == GType.ULong.Val)
|
||||
SetULongForPlatform ((ulong) value);
|
||||
SetULongForPlatform (Convert.ToUInt64 (value));
|
||||
else if (GType.Is (type, GType.Enum))
|
||||
g_value_set_enum (ref this, (int)value);
|
||||
else if (GType.Is (type, GType.Flags))
|
||||
|
|
Loading…
Reference in a new issue