gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
991 stars 317 forks source link

Unintended switch to SDRAM #891

Open ghost opened 1 year ago

ghost commented 1 year ago

https://github.com/gphoto/libgphoto2/blob/c6fa741bbc21b458714e3933b087ce6e66022fad/camlibs/ptp2/config.c#L8205

The above line switch to SDRAM, if the previous PTP_DPC_NIKON_LiveViewStatus is set to Off in the line: ptp_getdevicepropvalue (params, PTP_DPC_NIKON_LiveViewStatus, &value, PTP_DTC_UINT8)

It seems unrelated to change the media type, based on the live view status... And it cause side effects for my project, when the media type is changed as a side effect of other calls.