diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2016-03-06 22:28:07 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2016-03-06 22:28:07 +0100 |
commit | c5e5b61ba57532e8a893d34032868ac264ff6435 (patch) | |
tree | 38dffe6ee618cfaf6d845b00e8240223a26f1c9e | |
parent | ff49c5b1560d51d4ab34af6937bb73201e648ce9 (diff) | |
download | libgphoto2-c5e5b61ba57532e8a893d34032868ac264ff6435.tar.gz |
added GP_MIME_NEF
-rw-r--r-- | gphoto2/gphoto2-file.h | 1 | ||||
-rw-r--r-- | libgphoto2/gphoto2-file.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gphoto2/gphoto2-file.h b/gphoto2/gphoto2-file.h index 81a4787d5..58455cbc1 100644 --- a/gphoto2/gphoto2-file.h +++ b/gphoto2/gphoto2-file.h @@ -47,6 +47,7 @@ extern "C" { #define GP_MIME_AVI "video/x-msvideo" #define GP_MIME_CRW "image/x-canon-raw" #define GP_MIME_CR2 "image/x-canon-cr2" +#define GP_MIME_NEF "image/x-nikon-nef" #define GP_MIME_UNKNOWN "application/octet-stream" #define GP_MIME_EXIF "application/x-exif" #define GP_MIME_MP3 "audio/mpeg" diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c index 765dd96a2..74068b37e 100644 --- a/libgphoto2/gphoto2-file.c +++ b/libgphoto2/gphoto2-file.c @@ -1091,6 +1091,7 @@ gp_file_adjust_name_for_mime_type (CameraFile *file) GP_MIME_AVI, "avi", GP_MIME_CRW, "crw", GP_MIME_CR2, "cr2", + GP_MIME_NEF, "nef", GP_MIME_TXT, "txt", NULL}; |