[gnac/devel] Added 3GPP and RealMedia filters



commit a75a1918c17250b5dbf28ece09200d9aff9ebca8
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date:   Thu Jul 22 21:38:57 2010 +0100

    Added 3GPP and RealMedia filters

 data/gnac.desktop.in.in |    2 +-
 src/gnac-ui.c           |   20 +++++++++++---------
 2 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/data/gnac.desktop.in.in b/data/gnac.desktop.in.in
index 48709f1..5b9c987 100644
--- a/data/gnac.desktop.in.in
+++ b/data/gnac.desktop.in.in
@@ -4,7 +4,7 @@ GenericName=Gnac
 _Comment=Audio converter for GNOME
 Exec=gnac %F
 Icon=gnac
-MimeType=audio/mpeg;audio/mp4;audio/x-musepack;audio/ogg;audio/vnd.rn-realaudio;audio/x-speex;audio/x-ms-wma;audio/x-flac;audio/x-wav;audio/x-wavpack;audio/x-mpegurl;audio/x-scpls;application/xspf+xml;video/x-ms-asf;video/x-msvideo;video/x-flv;video/x-matroska;video/mpeg;video/mp4;video/ogg;video/quicktime;video/x-ms-wmv;
+MimeType=audio/mpeg;audio/mp4;audio/x-musepack;audio/ogg;audio/vnd.rn-realaudio;audio/x-speex;audio/x-ms-wma;audio/x-flac;audio/x-wav;audio/x-wavpack;audio/x-mpegurl;audio/x-scpls;application/xspf+xml;video/3gpp;video/x-ms-asf;video/x-msvideo;video/x-flv;video/x-matroska;video/mpeg;video/mp4;video/ogg;video/quicktime;application/vnd.rn-realmedia;video/x-ms-wmv;
 StartupNotify=true
 Terminal=false
 Type=Application
diff --git a/src/gnac-ui.c b/src/gnac-ui.c
index dc01ad5..044273c 100644
--- a/src/gnac-ui.c
+++ b/src/gnac-ui.c
@@ -181,15 +181,17 @@ gnac_ui_file_chooser_get_filters_model(void)
   };
 
   const gchar *video_mime[][2] = {
-    { "video/x-ms-asf"  , _("ASF video")           },
-    { "video/x-msvideo" , _("AVI video")           },
-    { "video/x-flv"     , _("Flash video")         },
-    { "video/x-matroska", _("Matroska video")      },
-    { "video/mpeg"      , _("MPEG video")          },
-    { "video/mp4"       , _("MPEG-4 video")        },
-    { "video/ogg"       , _("Ogg video")           },
-    { "video/quicktime" , _("QuickTime video")     },
-    { "video/x-ms-wmv"  , _("Windows Media video") },
+    { "video/3gpp"                  , _("3GPP multimedia file") },
+    { "video/x-ms-asf"              , _("ASF video")            },
+    { "video/x-msvideo"             , _("AVI video")            },
+    { "video/x-flv"                 , _("Flash video")          },
+    { "video/x-matroska"            , _("Matroska video")       },
+    { "video/mpeg"                  , _("MPEG video")           },
+    { "video/mp4"                   , _("MPEG-4 video")         },
+    { "video/ogg"                   , _("Ogg video")            },
+    { "video/quicktime"             , _("QuickTime video")      },
+    { "application/vnd.rn-realmedia", _("RealMedia document")   },
+    { "video/x-ms-wmv"              , _("Windows Media video")  },
     { NULL, NULL }
   };
 



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