[gthumb/ext] added realmedia to the video types



commit b62f0e739cb0a875d7841071fbf496ee6777b5bb
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Nov 7 17:07:04 2009 +0100

    added realmedia to the video types

 gthumb/glib-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/glib-utils.c b/gthumb/glib-utils.c
index da68383..43e34f0 100644
--- a/gthumb/glib-utils.c
+++ b/gthumb/glib-utils.c
@@ -2260,7 +2260,8 @@ _g_mime_type_is_video (const char *mime_type)
 	g_return_val_if_fail (mime_type != NULL, FALSE);
 
 	return (g_content_type_is_a (mime_type, "video/*")
-		|| (strcmp (mime_type, "application/ogg") == 0));
+		|| (strcmp (mime_type, "application/ogg") == 0)
+		|| (strcmp (mime_type, "application/vnd.rn-realmedia") == 0));
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]