mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
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:
parent
82abdae1bb
commit
5bed94924a
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue