gphoto2
gphoto2 copied to clipboard
Wrong aperture and EV values for Olympus OMD E-M5 II
Describe the bug
The EV settings look like this (from gphoto2 program)
/main/capturesettings/exposurecompensation Label: Exposure Compensation Readonly: 0 Type: RADIO Current: 0 Choice: 0 -5 Choice: 1 -4,7 Choice: 2 -4,3 [...]
When using gp_widget_set_value (child, str);, where str is for example "-4,7", it works erratically. The problem is that the values use "." instead of "," so the right value would be "-4.7" Same thing with the aperture values, and possibly others.
Name the camera Olympus OMD E-M5 Mk 2
libgphoto2 and gphoto2 version This version of gphoto2 is using the following software versions and options: gphoto2 2.5.23 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.5.25 standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking
The . vs , thing is floating point representation in your language setting. so itdepends which LANG is set if its komma or dot.
Yes, its a bit annoying.
Ok, but the camera returns the correct value when using gp_widget_get_value() I mean, it returns value such as 4.5 for aperture. gphoto2 (the program) shows me that widget with the wrong 4,5 value. Shouldn't it report what the camera returns?