applemedia: Add some properties to GstAvfDevice
authorJames Westman <james@flyingpimonster.net>
Sun, 1 Mar 2020 04:19:57 +0000 (22:19 -0600)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 23 Mar 2020 12:05:19 +0000 (12:05 +0000)
commit2ac834b51a1a5c02ab0a417209537e29b4cc930b
tree064951c94452e42bc16ab197cd71dfea4ca60856
parent085f10340e92eb366609c1efd64e5092611b4fe2
applemedia: Add some properties to GstAvfDevice

Adds properties to the devices listed in GstDeviceMonitor by the
applemedia plugin.

These properties are:
- device.api (always set to "avf")
- avf.unique_id
- avf.model_id
- avf.manufacturer (except on iOS)
- avf.has_flash
- avf.has_torch

Everything except device.api is taken directly from the AVCaptureDevice object
provided by AVFoundation.
sys/applemedia/avfdeviceprovider.m