GNOME Bugzilla – Bug 780087
application-development: request pad example code not correct
Last modified: 2017-04-03 21:53:26 UTC
The first code example is not correct in the "Request pads" section of: https://gstreamer.freedesktop.org/documentation/application-development/basics/pads.html It seems to be a copy of the second code example which is at its correct place. Kind regards, Tanguy Mezzano
Just to make sure we're talking about the same thing: To me it looks like both example code snippets in the Request Pads section are identical, and it looks like it should be split up, so that the first example only contains the second function, and the second example only contains the first function. Right?
This looks like a bug in hotdoc to me, the markdown is correct: -------------------------------------------------------- The following piece of code shows how you can request a new output pad from a “tee” element: {{ snippets.c#some_function }} The `gst_element_get_request_pad ()` method can be used to [...] an Ogg multiplexer from any input. {{ snippets.c#link_to_multiplexer }} --------------------------------------------------------
Hi Tim-Philipp, Indeed, code must be split up and displayed as you said. Thanks.
Should be fixed now. Apparently requires some hotdoc C extension thingy to be installed.