summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2013-08-12 13:47:38 +0300
committerTim-Philipp Müller <tim@centricular.net>2013-08-12 14:41:00 +0100
commit81782144d9a06119b0ad8c6f2cb6e272f94db27e (patch)
tree9335d77ce441776e0089cbaf957169a9c5a531fd
parentcc1de5ae9403761155e24c4fe6f88cd788e92400 (diff)
typefind: Add typefind function for WebP image format
https://bugzilla.gnome.org/show_bug.cgi?id=705826
-rw-r--r--gst/typefind/gsttypefindfunctions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 5c4f958fd..5727d1b3b 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -5248,6 +5248,8 @@ plugin_init (GstPlugin * plugin)
"bmp", BMP_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "image/tiff", GST_RANK_PRIMARY, tiff_type_find,
"tif,tiff", TIFF_CAPS, NULL, NULL);
+ TYPE_FIND_REGISTER_RIFF (plugin, "image/webp", GST_RANK_PRIMARY,
+ "webp", "WEBP");
TYPE_FIND_REGISTER (plugin, "image/x-portable-pixmap", GST_RANK_SECONDARY,
pnm_type_find, "pnm,ppm,pgm,pbm", PNM_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "video/x-matroska", GST_RANK_PRIMARY,