After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771923 - ahssrc is setting wrong error if init fails on android when os older than 5.0
ahssrc is setting wrong error if init fails on android when os older than 5.0
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.9.2
Other other
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-24 21:14 UTC by Glen Merrill
Modified: 2018-11-03 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Glen Merrill 2016-09-24 21:14:44 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.
Comment 1 GStreamer system administrator 2018-11-03 13:55:42 UTC
-- 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.