diff options
author | Nick Schermer <nick@xfce.org> | 2013-05-05 12:26:32 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2013-05-05 12:26:32 +0200 |
commit | 58434fa710b427a39ebae417e2dbbb9d757fa24b (patch) | |
tree | 1552f66b4b375c183bc54c560673b801dbbc0970 | |
parent | cadcc633ad33ff77b87d13a973bfbb3bb7ab9467 (diff) | |
download | tumbler-58434fa710b427a39ebae417e2dbbb9d757fa24b.tar.gz |
Add more supported types for gst thumbnailer (bug #9747).
-rw-r--r-- | plugins/gst-thumbnailer/gst-thumbnailer-provider.c | 61 |
1 files changed, 53 insertions, 8 deletions
diff --git a/plugins/gst-thumbnailer/gst-thumbnailer-provider.c b/plugins/gst-thumbnailer/gst-thumbnailer-provider.c index 4f9634e..9e077c7 100644 --- a/plugins/gst-thumbnailer/gst-thumbnailer-provider.c +++ b/plugins/gst-thumbnailer/gst-thumbnailer-provider.c @@ -103,32 +103,77 @@ gst_thumbnailer_provider_get_thumbnailers (TumblerThumbnailerProvider *provider) { /* This list is mainly from Totem. Generating a list from * GStreamer isn't realistic, so we have to hardcode it. */ + /* See https://git.gnome.org/browse/totem/tree/data/mime-type-list.txt */ static const char *mime_types[] = { - "application/asx", + "application/mxf", "application/ogg", + "application/ram", + "application/sdp", + "application/smil", + "application/smil+xml", + "application/vnd.apple.mpegurl", + "application/vnd.ms-wpl", + "application/vnd.rn-realmedia", + "application/x-extension-m4a", + "application/x-extension-mp4", + "application/x-flac", "application/x-flash-video", - "application/x-ms-wmp", - "application/x-ms-wms", + "application/x-matroska", + "application/x-netshow-channel", "application/x-ogg", + "application/x-quicktime-media-link", + "application/x-quicktimeplayer", + "application/x-shorten", + "application/x-smil", + "application/xspf+xml", + "image/vnd.rn-realpix", + "image/x-pict", + "misc/ultravox", + "text/google-video-pointer", + "text/x-google-video-pointer", + "video/3gp", "video/3gpp", + "video/dv", "video/divx", + "video/fli", "video/flv", - "video/jpeg", + "video/mp2t", "video/mp4", + "video/mp4v-es", "video/mpeg", + "video/msvideo", "video/ogg", "video/quicktime", + "video/vivo", + "video/vnd.divx", + "video/vnd.mpegurl", + "video/vnd.rn-realvideo", + "video/vnd.vivo", + "video/webm", + "video/x-anim", + "video/x-avi", + "video/x-flc", + "video/x-fli", + "video/x-flic", "video/x-flv", "video/x-m4v", "video/x-matroska", + "video/x-mpeg", + "video/x-mpeg2", "video/x-ms-asf", + "video/x-ms-asx", + "video/x-msvideo", "video/x-ms-wm", - "video/x-ms-wmp", "video/x-ms-wmv", + "video/x-ms-wmx", "video/x-ms-wvx", - "video/x-msvideo", - "video/x-ogg", - "video/x-wmv", + "video/x-nsv", + "video/x-ogm+ogg", + "video/x-theora+ogg", + "video/x-totem-stream", + "x-content/video-dvd", + "x-content/video-vcd", + "x-content/video-svcd", NULL }; GstThumbnailer *thumbnailer; |