It seems there is a bug in that commit : 
https://git.launchpad.net/~libhybris-maintainers/libhybris/+git/libhybris/commit/?id=9baee354fe513020aa2197b0b0769dd06a2585bc

+               if (ci.facing != camera_type)
+                       continue;
+
+               return android_camera_connect_by_id(camera_id, listener);

The continue statement will branch to the end of the loop, on the return
line, as opposed to skipping to the next loop iteration.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libhybris in Ubuntu.
https://bugs.launchpad.net/bugs/1535670

Title:
  Camera selection doesn't work: it always returns the front camera

Status in libhybris package in Ubuntu:
  New

Bug description:
  When testing webrtc sample apps, I noticed that the camera selection
  was not working.

  For example: http://webrtc.github.io/samples/src/content/devices
  /input-output/

  The selected camera is always the front camera.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libhybris/+bug/1535670/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to