[totem] browser-plugin: Add more OGG mime types



commit 18a55274bee5399faa97d409ba07a88864202912
Author: Daniel Drake <dsd laptop org>
Date:   Fri Jun 22 10:13:10 2012 -0600

    browser-plugin: Add more OGG mime types
    
    shared-mime-info identifies ogg media as audio/x-vorbis+ogg and
    video/x-theora+ogg (easy to see in Nautilus).
    
    I haven't seen any websites serving these MIME types, but when
    loading media from local disk (quite common for OLPC shipped content)
    these MIME types do come into play.
    
    Add them to the list so that the browser plugin continues to be used
    to play such media.

 browser-plugin/totemPlugin.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index 3d9bfed..f820656 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -119,8 +119,10 @@ static const totemPluginMimeEntry kMimeTypes[] = {
   { "application/ogg", "ogg", NULL },
   { "audio/ogg", "oga", NULL },
   { "audio/x-ogg", "ogg", NULL },
+  { "audio/x-vorbis+ogg", "ogg", NULL },
   { "video/ogg", "ogv", NULL },
   { "video/x-ogg", "ogg", NULL },
+  { "video/x-theora+ogg", "ogg", NULL },
   { "application/annodex", "anx", NULL },
   { "audio/annodex", "axa", NULL },
   { "video/annodex", "axv", NULL },



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