applemedia: avfvideosrc is not ported to 1.0 yet

This commit is contained in:
Sebastian Dröge 2013-09-23 11:35:56 +02:00
parent 93ec45a6df
commit dd19715961
5 changed files with 18 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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 ();

View file

@ -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

View file

@ -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;
}