applemedia: avfvideosrc is not ported to 1.0 yet
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 23 Sep 2013 09:35:56 +0000 (11:35 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Sat, 28 Sep 2013 18:36:21 +0000 (20:36 +0200)
sys/applemedia-nonpublic/Makefile.am
sys/applemedia-nonpublic/coremediactx.c
sys/applemedia-nonpublic/plugin.m
sys/applemedia/Makefile.am
sys/applemedia/plugin.m

index aa2a03c..000f442 100644 (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
 
index ba02e4b..2890205 100644 (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
index 5ece9a5..83742cb 100644 (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 ();
 
index 13f7994..f8cdd19 100644 (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
 
index 4548b14..de7f3a6 100644 (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;
 }