applemedia: Fix build on iOS and probably also on OSX
authorSebastian Dröge <sebastian@centricular.com>
Mon, 20 Jan 2014 09:34:57 +0000 (10:34 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 20 Jan 2014 09:34:57 +0000 (10:34 +0100)
The video toolbox is not available on iOS, and also on OSX
we should probably build all source files that are used for
it.

https://bugzilla.gnome.org/show_bug.cgi?id=722590

sys/applemedia/Makefile.am
sys/applemedia/plugin.m

index 57b12b9..e30ec1e 100644 (file)
@@ -89,7 +89,9 @@ else
 libgstapplemedia_la_SOURCES +=                 \
        qtkitvideosrc.m                         \
        vtenc.c                                 \
-       vtdec.c
+       vtdec.c                                 \
+       vth264decbin.c                          \
+       vth264encbin.c
 
 libgstapplemedia_la_LDFLAGS +=                 \
        -Wl,-framework -Wl,Cocoa                \
index e4fe9e3..098ec90 100644 (file)
 #ifdef HAVE_AVFOUNDATION
 #include "avfvideosrc.h"
 #endif
+#ifndef HAVE_IOS
 #include "vth264decbin.h"
 #include "vth264encbin.h"
 #include "vtdec.h"
+#endif
 #include "atdec.h"
 
 #ifndef HAVE_IOS