mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
applemedia: avfvideosrc is not ported to 1.0 yet
This commit is contained in:
parent
93ec45a6df
commit
dd19715961
5 changed files with 18 additions and 10 deletions
|
@ -69,10 +69,10 @@ noinst_HEADERS = \
|
|||
|
||||
if HAVE_IOS
|
||||
|
||||
libgstapplemedia_nonpublic_la_SOURCES += \
|
||||
celvideosrc.c \
|
||||
mtapi.c \
|
||||
celapi.c
|
||||
#libgstapplemedia_nonpublic_la_SOURCES += \
|
||||
# celvideosrc.c \
|
||||
# mtapi.c \
|
||||
# celapi.c
|
||||
|
||||
else
|
||||
|
||||
|
|
|
@ -44,8 +44,10 @@ static const GstApiProvider api_provider[] = {
|
|||
API_PROVIDER (CORE_VIDEO, cv),
|
||||
API_PROVIDER (CORE_MEDIA, cm),
|
||||
#ifdef HAVE_IOS
|
||||
#if 0
|
||||
API_PROVIDER (MEDIA_TOOLBOX, mt),
|
||||
API_PROVIDER (CELESTIAL, cel)
|
||||
#endif
|
||||
#else
|
||||
API_PROVIDER (MIO, mio),
|
||||
#endif
|
||||
|
|
|
@ -45,8 +45,10 @@ plugin_init (GstPlugin * plugin)
|
|||
gboolean res = TRUE;
|
||||
|
||||
#ifdef HAVE_IOS
|
||||
#if 0
|
||||
res &= gst_element_register (plugin, "celvideosrc", GST_RANK_NONE,
|
||||
GST_TYPE_CEL_VIDEO_SRC);
|
||||
#endif
|
||||
#else
|
||||
enable_mt_mode ();
|
||||
|
||||
|
|
|
@ -71,13 +71,13 @@ noinst_HEADERS = \
|
|||
|
||||
if HAVE_IOS
|
||||
|
||||
libgstapplemedia_la_SOURCES += \
|
||||
avfvideosrc.m
|
||||
#libgstapplemedia_la_SOURCES += \
|
||||
# avfvideosrc.m
|
||||
|
||||
libgstapplemedia_la_LDFLAGS += \
|
||||
-Wl,-framework -Wl,CoreMedia \
|
||||
-Wl,-framework -Wl,Foundation \
|
||||
-Wl,-framework -Wl,AVFoundation
|
||||
#libgstapplemedia_la_LDFLAGS += \
|
||||
# -Wl,-framework -Wl,CoreMedia \
|
||||
# -Wl,-framework -Wl,Foundation \
|
||||
# -Wl,-framework -Wl,AVFoundation
|
||||
|
||||
else
|
||||
|
||||
|
|
|
@ -50,8 +50,10 @@ plugin_init (GstPlugin * plugin)
|
|||
gboolean res = TRUE;
|
||||
|
||||
#ifdef HAVE_IOS
|
||||
#if 0
|
||||
res = gst_element_register (plugin, "avfvideosrc", GST_RANK_NONE,
|
||||
GST_TYPE_AVF_VIDEO_SRC);
|
||||
#endif
|
||||
#else
|
||||
enable_mt_mode ();
|
||||
|
||||
|
@ -67,8 +69,10 @@ plugin_init (GstPlugin * plugin)
|
|||
#endif
|
||||
res &= gst_element_register (plugin, "atdec", GST_RANK_PRIMARY, GST_TYPE_ATDEC);
|
||||
|
||||
#ifndef HAVE_IOS
|
||||
gst_vtenc_register_elements (plugin);
|
||||
gst_vtdec_register_elements (plugin);
|
||||
#endif
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue