[Bug 771923] New: ahssrc is setting wrong error if init fails on android when os older than 5.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 24 21:14:44 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=771923

            Bug ID: 771923
           Summary: ahssrc is setting wrong error if init fails on android
                    when os older than 5.0
    Classification: Platform
           Product: GStreamer
           Version: 1.9.2
                OS: other
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gmmerrill at cox.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list