Skip to content

Backport of "macos: Set activation policy in gst_macos_main and video sinks" and related into 1.22

Backport of commits:

  • 1815061e macos: Set activation policy in gst_macos_main
  • 5e45a1b1 macos: Set activation policy in osxvideosink and glimagesink
  • ffdec6bc macos: Fix gst_macos_main() terminating whole process before returning a value

Related MRs: !4573 (merged), !6005 (merged)

Supersedes !5790 (merged), !6099 (closed), !6051 (merged).

The old NSRunLoop related code in osxvideosink is not active in Cerbero releases (which have the GLib event loop patch removed, but still set the flag which indicates that it's present), but it can be active if building directly from the 1.22 branch, so we can't remove that in 1.22.

Merge request reports