2010-10-27 17:30:11 +00:00
|
|
|
plugin_LTLIBRARIES = libgstapplemedia.la
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES = \
|
|
|
|
plugin.m \
|
|
|
|
vtutil.c \
|
|
|
|
corevideobuffer.c \
|
|
|
|
coremediabuffer.c \
|
2015-01-08 13:16:17 +00:00
|
|
|
corevideotexturecache.m \
|
2014-09-16 12:02:46 +00:00
|
|
|
atdec.c
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-06-18 11:02:42 +00:00
|
|
|
libgstapplemedia_la_CPPFLAGS = \
|
2013-04-24 15:55:12 +00:00
|
|
|
-Dgst_core_media_buffer_new=gst_core_media_buffer_priv_new \
|
|
|
|
-Dgst_core_media_buffer_get_type=gst_core_media_buffer_priv_get_type \
|
|
|
|
-Dgst_core_media_buffer_get_pixel_buffer=gst_core_media_buffer_priv_get_pixel_buffer\
|
|
|
|
-Dgst_core_video_buffer_new=gst_core_video_buffer_priv_new \
|
2014-09-16 12:02:46 +00:00
|
|
|
-Dgst_core_video_buffer_get_type=gst_core_video_buffer_priv_get_type
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-06-18 11:02:42 +00:00
|
|
|
libgstapplemedia_la_CFLAGS = \
|
2015-01-08 13:16:17 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2013-06-18 11:02:42 +00:00
|
|
|
$(GST_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2010-10-27 17:30:11 +00:00
|
|
|
libgstapplemedia_la_OBJCFLAGS = \
|
2015-01-08 13:16:17 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2012-05-30 09:24:06 +00:00
|
|
|
$(GST_OBJCFLAGS) \
|
2010-10-27 17:30:11 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2013-03-25 12:45:30 +00:00
|
|
|
if HAVE_IOS
|
|
|
|
libgstapplemedia_la_OBJCFLAGS += -fobjc-abi-version=2 -fobjc-legacy-dispatch
|
|
|
|
endif
|
|
|
|
|
2015-01-08 13:16:17 +00:00
|
|
|
libgstapplemedia_la_LIBADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
|
|
-lgstaudio-$(GST_API_VERSION) \
|
|
|
|
-lgstpbutils-$(GST_API_VERSION) \
|
2013-11-04 09:04:42 +00:00
|
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2014-02-06 15:17:39 +00:00
|
|
|
libgstapplemedia_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) --tag=CC
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS = \
|
|
|
|
$(GST_PLUGIN_LDFLAGS) \
|
|
|
|
$(GST_BASE_LDFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_LDFLAGS) \
|
2010-11-04 13:14:09 +00:00
|
|
|
-Wl,-framework -Wl,CoreFoundation \
|
2013-04-24 20:15:01 +00:00
|
|
|
-Wl,-framework -Wl,CoreMedia \
|
2013-07-23 08:30:39 +00:00
|
|
|
-Wl,-framework -Wl,CoreVideo \
|
|
|
|
-Wl,-framework -Wl,AudioToolbox
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
qtkitvideosrc.h \
|
2010-11-04 13:14:09 +00:00
|
|
|
avfvideosrc.h \
|
2010-10-27 17:30:11 +00:00
|
|
|
vtenc.h \
|
|
|
|
vtdec.h \
|
|
|
|
vtutil.h \
|
|
|
|
corevideobuffer.h \
|
|
|
|
coremediabuffer.h \
|
2013-07-23 08:30:39 +00:00
|
|
|
atdec.h \
|
2013-05-11 01:41:36 +00:00
|
|
|
iosassetsrc.h \
|
2014-04-14 18:08:01 +00:00
|
|
|
avfassetsrc.h
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
if HAVE_IOS
|
|
|
|
|
2013-09-26 11:21:59 +00:00
|
|
|
libgstapplemedia_la_SOURCES += \
|
2014-04-03 13:02:18 +00:00
|
|
|
iosassetsrc.m
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-09-26 11:37:09 +00:00
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,Foundation \
|
|
|
|
-Wl,-framework -Wl,AssetsLibrary
|
2010-11-04 13:14:09 +00:00
|
|
|
|
2010-10-27 17:30:11 +00:00
|
|
|
else
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
2014-07-02 10:54:45 +00:00
|
|
|
qtkitvideosrc.m
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,Cocoa \
|
|
|
|
-Wl,-framework -Wl,QTKit
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-10-30 12:40:01 +00:00
|
|
|
if HAVE_AVFOUNDATION
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
2014-04-03 13:02:18 +00:00
|
|
|
avfvideosrc.m \
|
2015-01-19 01:43:23 +00:00
|
|
|
avfassetsrc.m \
|
|
|
|
avsamplevideosink.m
|
2013-10-30 12:40:01 +00:00
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,AVFoundation
|
|
|
|
|
|
|
|
endif
|
2014-07-02 10:54:45 +00:00
|
|
|
|
|
|
|
if HAVE_VIDEOTOOLBOX
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
|
|
|
vtenc.c \
|
|
|
|
vtdec.c
|
|
|
|
|
2014-09-17 07:38:20 +00:00
|
|
|
libgstapplemedia_la_LDFLAGS += -Wl,-weak_framework -Wl,VideoToolbox
|
2014-07-02 10:54:45 +00:00
|
|
|
endif
|