diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index 13c9412b8c..fee3273b2c 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -475,11 +475,14 @@ gst_vtenc_create_session (GstVTEnc * self) gst_vtenc_session_configure_expected_framerate (self, session, (gdouble) self->negotiated_fps_n / (gdouble) self->negotiated_fps_d); + /* FIXME: This is only available since OS X 10.9.6 */ +#if HAVE_IOS status = VTSessionSetProperty (session, kVTCompressionPropertyKey_ProfileLevel, kVTProfileLevel_H264_Baseline_AutoLevel); GST_DEBUG_OBJECT (self, "kVTCompressionPropertyKey_ProfileLevel => %d", (int) status); +#endif status = VTSessionSetProperty (session, kVTCompressionPropertyKey_AllowTemporalCompression, kCFBooleanTrue);