summaryrefslogtreecommitdiff
path: root/gst/pnm
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-09-10 08:29:06 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-09-10 08:29:06 +0200
commit77e989f4985173c36c6a9ad600c64564af83fb24 (patch)
treee238c0ba464a97d8593ba9ac42562911f4285807 /gst/pnm
parent59b6d933da390d7954f1f0a18d5708fc65a3689d (diff)
downloadgstreamer-plugins-bad-77e989f4985173c36c6a9ad600c64564af83fb24.tar.gz
pnm: Fix typefinder caps
Diffstat (limited to 'gst/pnm')
-rw-r--r--gst/pnm/gstpnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/pnm/gstpnm.c b/gst/pnm/gstpnm.c
index 36d0e29cf..d40ce14e9 100644
--- a/gst/pnm/gstpnm.c
+++ b/gst/pnm/gstpnm.c
@@ -79,7 +79,7 @@ plugin_init (GstPlugin * plugin)
static gchar *exts[] = { "pnm", NULL };
if (!gst_type_find_register (plugin, "", GST_RANK_PRIMARY,
- gst_my_typefind_function, exts, gst_caps_new_simple (MIME_ALL, NULL),
+ gst_my_typefind_function, exts, gst_caps_from_string (MIME_ALL),
NULL, NULL))
return FALSE;