docs: fix typo in query function example in Plugin Writer's Guide
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 22 Mar 2013 20:02:57 +0000 (20:02 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 22 Mar 2013 20:02:57 +0000 (20:02 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=696142

docs/pwg/building-queryfn.xml

index ad2e943..2f88163 100644 (file)
@@ -28,8 +28,8 @@ gst_my_filter_init (GstMyFilter * filter)
 [..]
   /* configure event function on the pad before adding
    * the pad to the element */
-  gst_pad_set_event_function (filter->srcpad,
-      gst_my_filter_src_event);
+  gst_pad_set_query_function (filter->srcpad,
+      gst_my_filter_src_query);
 [..]
 }