Commit 8199b15c authored by Marvin Scholz's avatar Marvin Scholz

codec/videotoolbox: Enable ARC

Enable automatic reference counting for the VideoToolbox module
parent 10ee2376
......@@ -353,11 +353,12 @@ libvideotoolbox_plugin_la_SOURCES = \
packetizer/h264_slice.c packetizer/h264_slice.h \
packetizer/h264_nal.c packetizer/h264_nal.h \
packetizer/hevc_nal.c packetizer/hevc_nal.h
libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc
if HAVE_IOS
libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -miphoneos-version-min=8.0
libvideotoolbox_plugin_la_OBJCFLAGS += -miphoneos-version-min=8.0
endif
if HAVE_TVOS
libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -mtvos-version-min=10.2
libvideotoolbox_plugin_la_OBJCFLAGS += -mtvos-version-min=10.2
endif
libvideotoolbox_plugin_la_LIBADD = libchroma_copy.la
libvideotoolbox_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment