avfvideosrc: Use AVCaptureDeviceTypeBuiltInDuoCamera instead of DualCamera for now
The former is deprecated in 10.2 but we don't require that SDK yet.
This commit is contained in:
parent
8ae5eaec05
commit
2bcd155a6a
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user