gstreamer/subprojects/gst-docs/examples/tutorials
Piotr Brzeziński 3bb8700577 macos: Add wrapper API to run a NSApplication in the main thread
On macOS, a Cocoa event loop is needed in the main thread to ensure
things like opening a GL window work correctly. In the past, this was
patched into glib via Cerbero, but that prevented us from updating it.
This workaround simply runs an NSApplication and then calls the
main function on a secondary thread, allowing GStreamer to correctly
display windows and/or system permission prompts, for example.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3532>
2022-12-13 17:50:32 +00:00
..
android examples/docs: update android applications to the latest relevant sdk's and build tools 2022-02-07 06:51:58 +00:00
icons Move files from gst-docs into the "subprojects/gst-docs/" subdir 2021-09-24 16:15:51 -03:00
python Move files from gst-docs into the "subprojects/gst-docs/" subdir 2021-09-24 16:15:51 -03:00
vs2010 Move files from gst-docs into the "subprojects/gst-docs/" subdir 2021-09-24 16:15:51 -03:00
xcode/GStreamer Tutorials.xcodeproj Move files from gst-docs into the "subprojects/gst-docs/" subdir 2021-09-24 16:15:51 -03:00
xcode iOS docs:examples: Fix building iOS examples 2022-04-21 09:18:56 -04:00
basic-tutorial-1.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-2.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-3.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-4.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-5.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-6.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-7.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-8.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-9.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-12.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-13.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
basic-tutorial-15.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-1.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-2.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-3.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-4.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-5.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-6.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00
playback-tutorial-7.c macos: Add wrapper API to run a NSApplication in the main thread 2022-12-13 17:50:32 +00:00