mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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);
|
GstObject * parent);
|
||||||
static gboolean gst_my_filter_activate_mode (GstPad * pad,
|
static gboolean gst_my_filter_activate_mode (GstPad * pad,
|
||||||
GstObject * parent,
|
GstObject * parent,
|
||||||
GstPadMode mode
|
GstPadMode mode,
|
||||||
gboolean active);
|
gboolean active);
|
||||||
static void gst_my_filter_loop (GstMyFilter * filter);
|
static void gst_my_filter_loop (GstMyFilter * filter);
|
||||||
|
|
||||||
|
|
|
@ -128,9 +128,8 @@ gst_my_typefind_function (GstTypeFind *tf,
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin *plugin)
|
plugin_init (GstPlugin *plugin)
|
||||||
{
|
{
|
||||||
static gchar *exts[] = { "avi", NULL };
|
|
||||||
if (!gst_type_find_register (plugin, "", GST_RANK_PRIMARY,
|
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",
|
gst_caps_new_simple ("video/x-msvideo",
|
||||||
NULL), NULL))
|
NULL), NULL))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue