docs: pwg: fix missing comma and 0.10-ism in code sample

https://bugzilla.gnome.org/show_bug.cgi?id=747267
https://bugzilla.gnome.org/show_bug.cgi?id=747266
This commit is contained in:
Tim-Philipp Müller 2015-04-02 21:18:39 +01:00
parent 82abdae1bb
commit 5bed94924a
2 changed files with 2 additions and 3 deletions

View file

@ -153,7 +153,7 @@ static gboolean gst_my_filter_activate (GstPad * pad,
GstObject * parent);
static gboolean gst_my_filter_activate_mode (GstPad * pad,
GstObject * parent,
GstPadMode mode
GstPadMode mode,
gboolean active);
static void gst_my_filter_loop (GstMyFilter * filter);

View file

@ -128,9 +128,8 @@ gst_my_typefind_function (GstTypeFind *tf,
static gboolean
plugin_init (GstPlugin *plugin)
{
static gchar *exts[] = { "avi", NULL };
if (!gst_type_find_register (plugin, "", GST_RANK_PRIMARY,
gst_my_typefind_function, exts,
gst_my_typefind_function, "avi",
gst_caps_new_simple ("video/x-msvideo",
NULL), NULL))
return FALSE;