summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-file.c
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2006-03-25 17:45:44 +0000
committerMarcus Meissner <marcus@jet.franken.de>2006-03-25 17:45:44 +0000
commite6c9ec1f979a3e8be604f572a4562107c289613a (patch)
tree9ecf4dce92a88ba2845e48a7ea9336dd2b8780aa /libgphoto2/gphoto2-file.c
parent008269c2ad16b0a9950808e982351e13d8fb5b93 (diff)
downloadlibgphoto2-e6c9ec1f979a3e8be604f572a4562107c289613a.tar.gz
added some more mime types and map them in gp_file_open()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8664 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-file.c')
-rw-r--r--libgphoto2/gphoto2-file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c
index 500944324..571f57b04 100644
--- a/libgphoto2/gphoto2-file.c
+++ b/libgphoto2/gphoto2-file.c
@@ -240,6 +240,10 @@ gp_file_open (CameraFile *file, const char *filename)
"png", GP_MIME_PNG,
"wav", GP_MIME_WAV,
"avi", GP_MIME_AVI,
+ "mp3", GP_MIME_MP3,
+ "wma", GP_MIME_WMA,
+ "asf", GP_MIME_ASF,
+ "ogg", GP_MIME_OGG,
NULL};
CHECK_NULL (file && filename);