ptp-helper: Make sure to use g_poll() for the main context
authorSebastian Dröge <sebastian@centricular.com>
Thu, 4 Jun 2015 17:05:44 +0000 (19:05 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 4 Jun 2015 17:05:44 +0000 (19:05 +0200)
commitf02de0e9a1cd1c0ffe6935e884f726e5da526c5e
tree02294d78fdc22fb18cafccd9af2766ad29011e3f
parentc7c1dcd346500484ca417d7d1408b3350476a93c
ptp-helper: Make sure to use g_poll() for the main context

The modified main context from https://bugzilla.gnome.org/show_bug.cgi?id=741054
somehow calls setugid(), which abort()s setuid root applications on OSX.
libs/gst/helpers/gst-ptp-helper.c