applemedia: Fix build on iOS and probably also on OSX

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
This commit is contained in:
Sebastian Dröge 2014-01-20 10:34:57 +01:00
parent cd8c0227c8
commit 1107e158f7
2 changed files with 5 additions and 1 deletions

View 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 \

View file

@ -30,9 +30,11 @@
#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