diff --git a/sys/applemedia/plugin.m b/sys/applemedia/plugin.m index 19384c7b80..fb7ee928ad 100644 --- a/sys/applemedia/plugin.m +++ b/sys/applemedia/plugin.m @@ -25,6 +25,7 @@ #include "corevideomemory.h" #ifdef HAVE_IOS #include "iosassetsrc.h" +#include "iosglmemory.h" #endif #ifdef HAVE_QTKIT #include "qtkitvideosrc.h" diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index 8b325fb82e..cef8f80b60 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -790,10 +790,11 @@ gst_vtenc_create_session (GstVTEnc * self) VTCompressionSessionRef session = NULL; CFMutableDictionaryRef encoder_spec = NULL, pb_attrs; OSStatus status; + +#if !HAVE_IOS const GstVTEncoderDetails *codec_details = GST_VTENC_CLASS_GET_CODEC_DETAILS (G_OBJECT_GET_CLASS (self)); -#if !HAVE_IOS encoder_spec = CFDictionaryCreateMutable (NULL, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);