From 81782144d9a06119b0ad8c6f2cb6e272f94db27e Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Mon, 12 Aug 2013 13:47:38 +0300 Subject: [PATCH] typefind: Add typefind function for WebP image format https://bugzilla.gnome.org/show_bug.cgi?id=705826 --- gst/typefind/gsttypefindfunctions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 5c4f958fdf..5727d1b3b4 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,