mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +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"
|
#include "corevideomemory.h"
|
||||||
#ifdef HAVE_IOS
|
#ifdef HAVE_IOS
|
||||||
#include "iosassetsrc.h"
|
#include "iosassetsrc.h"
|
||||||
|
#include "iosglmemory.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_QTKIT
|
#ifdef HAVE_QTKIT
|
||||||
#include "qtkitvideosrc.h"
|
#include "qtkitvideosrc.h"
|
||||||
|
|
|
@ -790,10 +790,11 @@ gst_vtenc_create_session (GstVTEnc * self)
|
||||||
VTCompressionSessionRef session = NULL;
|
VTCompressionSessionRef session = NULL;
|
||||||
CFMutableDictionaryRef encoder_spec = NULL, pb_attrs;
|
CFMutableDictionaryRef encoder_spec = NULL, pb_attrs;
|
||||||
OSStatus status;
|
OSStatus status;
|
||||||
|
|
||||||
|
#if !HAVE_IOS
|
||||||
const GstVTEncoderDetails *codec_details =
|
const GstVTEncoderDetails *codec_details =
|
||||||
GST_VTENC_CLASS_GET_CODEC_DETAILS (G_OBJECT_GET_CLASS (self));
|
GST_VTENC_CLASS_GET_CODEC_DETAILS (G_OBJECT_GET_CLASS (self));
|
||||||
|
|
||||||
#if !HAVE_IOS
|
|
||||||
encoder_spec =
|
encoder_spec =
|
||||||
CFDictionaryCreateMutable (NULL, 0, &kCFTypeDictionaryKeyCallBacks,
|
CFDictionaryCreateMutable (NULL, 0, &kCFTypeDictionaryKeyCallBacks,
|
||||||
&kCFTypeDictionaryValueCallBacks);
|
&kCFTypeDictionaryValueCallBacks);
|
||||||
|
|
Loading…
Reference in a new issue