From 1107e158f78741f03a98feff14ea1e20a0ddbdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 20 Jan 2014 10:34:57 +0100 Subject: [PATCH] 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 --- sys/applemedia/Makefile.am | 4 +++- sys/applemedia/plugin.m | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/applemedia/Makefile.am b/sys/applemedia/Makefile.am index 57b12b9f7b..e30ec1e3cc 100644 --- a/sys/applemedia/Makefile.am +++ b/sys/applemedia/Makefile.am @@ -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 \ diff --git a/sys/applemedia/plugin.m b/sys/applemedia/plugin.m index e4fe9e3bc7..098ec90bdc 100644 --- a/sys/applemedia/plugin.m +++ b/sys/applemedia/plugin.m @@ -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