mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
46bbc60d24
All code interacting with Objective-C objects should now use Automated Reference Counting rather than manual memory management or Garbage Collection. Because ARC prohibits C-structs from containing references to Objective-C objects, all such fields are now typed 'gpointer'. Setting and gettings Objective-C fields on such a struct now uses explicit __bridge_* calls to tell ARC about object lifetimes. https://bugzilla.gnome.org/show_bug.cgi?id=777847
16 lines
454 B
Makefile
Executable file
16 lines
454 B
Makefile
Executable file
if HAVE_WINDOW_COCOA
|
|
|
|
noinst_PROGRAMS = cocoa-videooverlay
|
|
|
|
cocoa_videooverlay_SOURCES = cocoa-videooverlay.m
|
|
|
|
cocoa_videooverlay_OBJCFLAGS=-Wno-error=unused-command-line-argument \
|
|
-fobjc-arc \
|
|
-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
|
|
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
|
$(GL_CFLAGS) $(GL_OBJCFLAGS)
|
|
|
|
cocoa_videooverlay_LDADD=$(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) \
|
|
$(GL_LIBS) -lgstvideo-$(GST_API_VERSION)
|
|
|
|
endif
|