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 790242 - Tutorials all can't show video on macOS
Tutorials all can't show video on macOS
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: documentation
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-12 12:41 UTC by Sebastian Dröge (slomo)
Modified: 2018-11-03 11:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2017-11-12 12:41:44 UTC
See https://github.com/sdroege/gstreamer-rs/issues/58 , same applies to the C tutorials.

The problem is that for osxvideosink and glimagesink we need to run a NSRunLoop on the main thread on macOS. Our patched GLib version does that when you run a GMainLoop (upstream GLib doens't!), but the examples are only using gst_bus_timed_pop_filtered() so that also wouldn't help.

Using a GMainLoop would make the tutorials quite a bit more complicated, more API would have to be introduced, there would always be callbacks, etc.


Not sure what to do about this!
Comment 1 Kornel 2017-11-12 13:34:16 UTC
I've managed to get simple examples working by running the example on a thread, and calling CFRunLoopRun() on the main thread. It requires only linking with the foundation.framework.
Comment 2 GStreamer system administrator 2018-11-03 11:03:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/10.