summaryrefslogtreecommitdiffstats
path: root/src/multimedia/darwin/qdarwinmediadevices.mm
diff options
context:
space:
mode:
authorPiotr Srebrny <piotr.srebrny@qt.io>2022-11-10 09:17:48 +0100
committerPiotr Srebrny <piotr.srebrny@qt.io>2022-11-10 10:49:06 +0100
commit79267f7d3da56a4907d6ff9f2ddfdb2d296a47d1 (patch)
tree2aaa29b4899bfd5f21d18a9c6debd6b6fae1bc6b /src/multimedia/darwin/qdarwinmediadevices.mm
parent7578eb075be004f02e00e02a0b4b35557659f59d (diff)
Look up device classes in an order independent way
GStreamer does not guarantee any specific order in the class list returned by gst_device_get_device_class. Instead of using strcmp on this list we can check device classes in the order independet way using gst_device_has_classes. Fixes: QTBUG-107671 Pick-to: 6.4 Change-Id: If43781f39cd229ba9b0d9eefebd687017ba9e952 Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'src/multimedia/darwin/qdarwinmediadevices.mm')
0 files changed, 0 insertions, 0 deletions