applemedia: Fix some compiler warnings on iOS

This commit is contained in:
Sebastian Dröge 2017-01-27 18:11:15 +02:00
parent 81b20f15fc
commit 01c60e664d
2 changed files with 3 additions and 1 deletions

View file

@ -25,6 +25,7 @@
#include "corevideomemory.h"
#ifdef HAVE_IOS
#include "iosassetsrc.h"
#include "iosglmemory.h"
#endif
#ifdef HAVE_QTKIT
#include "qtkitvideosrc.h"

View file

@ -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);