After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664687 - CPU count detection fails on OS X
CPU count detection fails on OS X
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.11.x
Other Mac OS
: Normal normal
: 0.11.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-23 23:43 UTC by Matej Knopp
Modified: 2011-11-24 00:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (761 bytes, patch)
2011-11-23 23:43 UTC, Matej Knopp
committed Details | Review

Description Matej Knopp 2011-11-23 23:43:26 UTC
Created attachment 202037 [details] [review]
patch

sysctl call modifies n_threads instead of n.
Comment 1 Tim-Philipp Müller 2011-11-23 23:55:52 UTC
Pushed, thanks for the patch!

 commit 7dd07ed7fbbb9a31461c385f0e5cac70a8e1050b
 Author: Matej Knopp <matej.knopp@gmail.com>
 Date:   Thu Nov 24 00:41:27 2011 +0100

    Fix cpu cores detection on OS X
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664687
Comment 2 Tim-Philipp Müller 2011-11-24 00:22:18 UTC
cherry-picked into 0.10 as well (should've been the other way round really, ideally):

commit 28142d9549c0c5667336a26af7923425b44eec09
Author: Matej Knopp <matej.knopp@gmail.com>
Date:   Thu Nov 24 00:41:27 2011 +0100

    Fix cpu cores detection on OS X
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664687