diff options
author | Luis Paulo Fernandes de Barros <tc.lbarros@padtec.com.br> | 2020-10-07 10:35:36 -0300 |
---|---|---|
committer | Luis Paulo Fernandes de Barros <tc.lbarros@padtec.com.br> | 2020-10-07 10:35:36 -0300 |
commit | c56de2aaef91dd3d757e483f6f557e29ddf2100a (patch) | |
tree | 61d6c4030bd81f2994451f345fdfa6e1d7d952bc | |
parent | c2fe568ceced7db3034bf726242af74ed4fcf8ed (diff) |
Fix dynamic-pipelines.md tutorial text
The text and the piece of code that describes the link process of data.convert e data.sink are missing data.resample.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/116>
-rw-r--r-- | markdown/tutorials/basic/dynamic-pipelines.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/tutorials/basic/dynamic-pipelines.md b/markdown/tutorials/basic/dynamic-pipelines.md index 652a1e9..f4b7f5a 100644 --- a/markdown/tutorials/basic/dynamic-pipelines.md +++ b/markdown/tutorials/basic/dynamic-pipelines.md @@ -304,14 +304,14 @@ previous tutorial, for audio. It will render the audio stream to the audio card. ``` c -if (!gst_element_link (data.convert, data.sink)) { +if (!gst_element_link_many (data.convert, data.resample, data.sink, NULL)) { g_printerr ("Elements could not be linked.\n"); gst_object_unref (data.pipeline); return -1; } ``` -Here we link the converter element to the sink, but we **DO NOT** link +Here we link the elements converter, resample and sink, but we **DO NOT** link them with the source, since at this point it contains no source pads. We just leave this branch (converter + sink) unlinked, until later on. |