GNOME Bugzilla – Bug 771923
ahssrc is setting wrong error if init fails on android when os older than 5.0
Last modified: 2018-11-03 13:55:42 UTC
sys/androidmedia/gstamc.c + if (!gst_android_hardware_sensor_init ()) { + goto failed_hardware_camera; + } This is setting the error for the camera instead of the sensor. This results in not being able to use the camera when running on an OS older than 5.0 as some of the sensor fields do not exists, such as TYPE_HEART_RATE. It should be going to goto failed_hardware_sensor; like the rest of the checks that were fixed before.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/428.