diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2009-02-16 08:09:49 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2009-02-16 08:09:49 +0000 |
commit | bb3d18289e752db9dff5f7e60e5368f46bdd1a8a (patch) | |
tree | 8b96a77cc35ca978600cbe450a0503d3dd6dc5aa /camlibs/soundvision | |
parent | 2d0eae7c878f9ee870df185d27e0fafd120a4b42 (diff) | |
download | libgphoto2-bb3d18289e752db9dff5f7e60e5368f46bdd1a8a.tar.gz |
Batch commit from weekend work:
- removed "type" from CameraFile handling:
- all put_file functions and hooks get "type" as argument now
- added type to the set_file_info_noop call
- started removal of "name" from CameraFile
- generate new filename from original filename + camerafile type + mimetype
- new gp_camera_autodetect() helper function
- adapted all drivers.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11818 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/soundvision')
-rw-r--r-- | camlibs/soundvision/soundvision.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camlibs/soundvision/soundvision.c b/camlibs/soundvision/soundvision.c index e16fa5acb..63ae532f8 100644 --- a/camlibs/soundvision/soundvision.c +++ b/camlibs/soundvision/soundvision.c @@ -285,7 +285,6 @@ static int get_file_func (CameraFilesystem *fs, const char *folder, gp_file_set_data_and_size (file, data, size); /* Maybe skip below if EXIF data present? */ - gp_file_set_name (file, filename); /* As far as I know we only support JPG and MOV */ /* Maybe some have MP3??? */ @@ -387,7 +386,7 @@ static int delete_file_func (CameraFilesystem *fs, const char *folder, static int put_file_func (CameraFilesystem *fs, const char *folder, const char *filename, - CameraFile *file, void *data, GPContext *context) { + CameraFileType type, CameraFile *file, void *data, GPContext *context) { Camera *camera=data; const char *data_file; |