de265dec: use g_get_num_processors() if available
authorTim-Philipp Müller <tim@centricular.com>
Tue, 28 Apr 2015 15:06:47 +0000 (16:06 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 28 Apr 2015 15:08:31 +0000 (16:08 +0100)
commitc754b8526b32cffe397308567127313bf993c86d
treeeeb498e6f06c5860690ed5cbaa860750c0f8f240
parentf0a9c246a37eaf7ba67338f5362ceddf9a74676d
de265dec: use g_get_num_processors() if available

And provide home-made fallback for older GLib versions,
so that we can later find these and remove them when
we bump the GLib requirement (which is certainly going
to happen before 2.0).

https://bugzilla.gnome.org/show_bug.cgi?id=748495
ext/libde265/libde265-dec.c