mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
applemedia: Fix some compiler warnings on iOS
This commit is contained in:
parent
81b20f15fc
commit
01c60e664d
2 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "corevideomemory.h"
|
||||
#ifdef HAVE_IOS
|
||||
#include "iosassetsrc.h"
|
||||
#include "iosglmemory.h"
|
||||
#endif
|
||||
#ifdef HAVE_QTKIT
|
||||
#include "qtkitvideosrc.h"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue