message: Work around g-i/pygobject/gjs bug with ~0 in enums
authorSebastian Dröge <sebastian@centricular.com>
Thu, 3 Jul 2014 08:11:02 +0000 (10:11 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 3 Jul 2014 08:13:28 +0000 (10:13 +0200)
commit125ae3acb1bc0f45e1e4763ae9ac214013a66765
treebe5e2d54af4c23a52059ac4a5d301c12df67b603
parent14ae3cf56c1de1dcbb5a9083f886e5346c043e80
message: Work around g-i/pygobject/gjs bug with ~0 in enums

GST_MESSAGE_ANY was considered a long by pygobject and gjs, and thus
couldn't be used in gst_bus_poll() and similar APIs as they expect an
int-typed enum.

Just use 0xffffffff instead for now.

https://bugzilla.gnome.org/show_bug.cgi?id=732633
gst/gstmessage.h