diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-03-09 10:09:40 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-03-09 10:10:37 +0200 |
commit | 2bcd155a6a77aea48936b2b5f5e7d7f0506e16dc (patch) | |
tree | c06640b8662747cd3759cffa3ba4d61c7fa4501f /sys/applemedia | |
parent | 8ae5eaec055820e31c1f0b1670b18210ab208fda (diff) | |
download | gstreamer-plugins-bad-2bcd155a6a77aea48936b2b5f5e7d7f0506e16dc.tar.gz |
avfvideosrc: Use AVCaptureDeviceTypeBuiltInDuoCamera instead of DualCamera for now
The former is deprecated in 10.2 but we don't require that SDK yet.
Diffstat (limited to 'sys/applemedia')
-rw-r--r-- | sys/applemedia/avfvideosrc.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index c4f3e7e4a..88b64acc5 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -250,7 +250,7 @@ static AVCaptureDeviceType GstAVFVideoSourceDeviceType2AVCaptureDeviceType(GstAV case GST_AVF_VIDEO_SOURCE_DEVICE_TYPE_BUILT_IN_TELEPHOTO_CAMERA: return AVCaptureDeviceTypeBuiltInTelephotoCamera; case GST_AVF_VIDEO_SOURCE_DEVICE_TYPE_BUILT_IN_DUAL_CAMERA: - return AVCaptureDeviceTypeBuiltInDualCamera; + return AVCaptureDeviceTypeBuiltInDuoCamera; case GST_AVF_VIDEO_SOURCE_DEVICE_TYPE_DEFAULT: g_assert_not_reached(); } |