GNOME Bugzilla – Bug 696142
Query function chapter in Plugin Writers Guide defines an event function when it should define a query function.
Last modified: 2013-03-22 20:04:51 UTC
The PWG chapter here (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-building-queryfn.html) has code (in the element init) for setting an event function on a pad, where I think it should be setting a query function.
You're quite right, thanks for the bug report. Fixed in git now, should hopefully be updated on the web site soon as well. commit 1e6e797d6579d447c154a6dee961a8d4428051b1 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Mar 22 20:02:57 2013 +0000 docs: fix typo in query function example in Plugin Writer's Guide https://bugzilla.gnome.org/show_bug.cgi?id=696142