summaryrefslogtreecommitdiff
path: root/gst/pnm
diff options
context:
space:
mode:
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;