[Digikam-devel] [Bug 174586] Loading video from camera consumes ll memory

Marcus Meissner marcus at jet.franken.de
Sun Jul 5 18:04:24 BST 2009


https://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #22 from Marcus Meissner <marcus jet franken de>  2009-07-05 19:04:22 ---
instead of doing

gp_file_new(&file);
... get file ... 
gp_file_get_data_and_size(file,...)
gp_file_unref (file);
you do:

... open fd writeable ... 
gp_file_new_from_fd(&file, fd);
... get file same as before
gp_file_unref (file);
 (no gp_file_get_data_and_size() )

The "get file" part will already write it to "fd" on the disk.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list