2010-10-27 17:30:11 +00:00
|
|
|
plugin_LTLIBRARIES = libgstapplemedia.la
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES = \
|
|
|
|
plugin.m \
|
|
|
|
vtutil.c \
|
|
|
|
corevideobuffer.c \
|
|
|
|
coremediabuffer.c \
|
|
|
|
coremediactx.c \
|
|
|
|
vtapi.c \
|
2013-07-23 08:30:39 +00:00
|
|
|
atdec.c \
|
2010-10-27 17:30:11 +00:00
|
|
|
dynapi.c
|
|
|
|
|
2013-06-18 11:02:42 +00:00
|
|
|
libgstapplemedia_la_CPPFLAGS = \
|
2013-04-24 15:55:12 +00:00
|
|
|
-Dgst_dyn_api_get_type=gst_dyn_api_priv_get_type \
|
|
|
|
-Dgst_dyn_api_debug=gst_dyn_api_priv_debug \
|
|
|
|
-D_gst_dyn_api_new=_gst_dyn_api_priv_new \
|
|
|
|
-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 \
|
|
|
|
-Dgst_core_video_buffer_get_type=gst_core_video_buffer_priv_get_type \
|
|
|
|
-Dgst_core_media_ctx_new=gst_core_media_ctx_priv_new \
|
|
|
|
-Dgst_core_media_ctx_get_type=gst_core_media_ctx_priv_get_type
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-06-18 11:02:42 +00:00
|
|
|
libgstapplemedia_la_CFLAGS = \
|
|
|
|
$(GST_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2010-10-27 17:30:11 +00:00
|
|
|
libgstapplemedia_la_OBJCFLAGS = \
|
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
|
|
|
|
|
2010-10-27 17:30:11 +00:00
|
|
|
libgstapplemedia_la_LIBADD = \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
2013-07-23 08:30:39 +00:00
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
2013-11-04 09:04:42 +00:00
|
|
|
-lgstaudio-$(GST_API_VERSION) \
|
|
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2012-10-24 10:16:39 +00:00
|
|
|
libgstapplemedia_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
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
|
|
|
|
2013-12-07 22:55:13 +00:00
|
|
|
if !HAVE_IOS
|
|
|
|
libgstapplemedia_la_LDFLAGS += -Wl,-framework -Wl,VideoToolbox
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
vth264decbin.h \
|
|
|
|
vth264encbin.h \
|
|
|
|
vtenc.h \
|
|
|
|
vtdec.h \
|
|
|
|
vtutil.h \
|
|
|
|
corevideobuffer.h \
|
|
|
|
coremediabuffer.h \
|
|
|
|
coremediactx.h \
|
|
|
|
vtapi.h \
|
2013-07-23 08:30:39 +00:00
|
|
|
atdec.h \
|
2010-10-27 17:30:11 +00:00
|
|
|
dynapi.h \
|
2013-09-26 11:21:59 +00:00
|
|
|
dynapi-internal.h \
|
|
|
|
iosassetsrc.h
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
if HAVE_IOS
|
|
|
|
|
2013-09-26 11:21:59 +00:00
|
|
|
libgstapplemedia_la_SOURCES += \
|
|
|
|
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 += \
|
|
|
|
qtkitvideosrc.m \
|
2013-02-16 01:37:11 +00:00
|
|
|
vtenc.c \
|
2013-04-24 16:53:11 +00:00
|
|
|
vtdec.c
|
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 += \
|
|
|
|
avfvideosrc.m
|
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,AVFoundation
|
|
|
|
|
|
|
|
endif
|