-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gp_camera_file_read vs. gp_camera_file_get #101
Comments
I have faced the same issue. |
In my case, for a Sony PTP camera, the libgphoto2/camlibs/ptp2/library.c Line 4215 in bc181c8
So the check in |
Removing the |
Hmm. The gp_camera_file_read does not cover this case, it should check the filesystem backed cached storage here. This is missing. the _read function is not complete :/ But gp_camera_file_get() does not touch the host filesystem, unless you use gp_file_new_from_fd() or so, so you can still use that. |
Oh! I've missed the point that I can initialize a |
I was using the sample program sample-capture and sample-trigger-capture, and found the following on my Windows port:
Question: is this really a necessary check? Why then the gp_camera_file_get works perfectly?
Sorry if the question is stupid, I have started getting familiar with the library only recently.
The text was updated successfully, but these errors were encountered: