Sign up

Problem compiling gstreamerd.lib

Added the following patch to compile library:

diff --git a/srcgstreamer/gstreamerc/gstreamertypes.d b/srcgstreamer/gstreamerc/gstreamertypes.d
index 53012bc..f07d60f 100644
--- a/srcgstreamer/gstreamerc/gstreamertypes.d
+++ b/srcgstreamer/gstreamerc/gstreamertypes.d
@@ -1037,7 +1037,7 @@ public enum GstMapFlags
{
READ = GstLockFlags.READ,
WRITE = GstLockFlags.WRITE,

  • FLAG_LAST = (1 << 16)
  • FLAG_LAST = cast(GstLockFlags)(1 << 16)
    }
    alias GstMapFlags MapFlags;

Does this look correct to you Mike?

Thanks,
ollie

Re: Problem compiling gstreamerd.lib

On Mon, 23 Sep 2013 03:59:33 GMT, ollie wrote:

Added the following patch to compile library:

... diff ...

Does this look correct to you Mike?

Thanks,
ollie

I would cast the other two items to int.

https://github.com/gtkd-developers/GtkD/commit/721bfbd52e9f0cdc02c743855a2d84251000e06e