summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Kellermann <axel_kellermann@mentor.com>2020-12-02 16:08:01 +0000
committerAxel Kellermann <axel_kellermann@mentor.com>2020-12-02 16:08:01 +0000
commit172ace3cc2db06c515f36d1981a78c9a95e9a08b (patch)
tree8c9125467eb95223f95b77c97153fa5a7ea8ff72
parent21c74fccc281390d98be9409b9626beab5f97683 (diff)
Fix typos in media-information-gathering.md
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/122>
-rw-r--r--markdown/tutorials/basic/media-information-gathering.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/tutorials/basic/media-information-gathering.md b/markdown/tutorials/basic/media-information-gathering.md
index 1cd9887..dc2882d 100644
--- a/markdown/tutorials/basic/media-information-gathering.md
+++ b/markdown/tutorials/basic/media-information-gathering.md
@@ -467,7 +467,7 @@ with `gst_tag_list_foreach()`, which will call `print_tag_foreach` for
each tag found (the list could also be traversed manually, for example,
or a specific tag could be searched for with
`gst_tag_list_get_string()`). The code for `print_tag_foreach` is pretty
-much self-explicative.
+much self-explanatory.
``` c
sinfo = gst_discoverer_info_get_stream_info (info);
@@ -514,14 +514,14 @@ static void print_topology (GstDiscovererStreamInfo *info, gint depth) {
```
The `print_stream_info` function's code is also pretty much
-self-explicative: it prints the stream's capabilities and then the
+self-explanatory: it prints the stream's capabilities and then the
associated caps, using `print_tag_foreach` too.
Then, `print_topology` looks for the next element to display. If
`gst_discoverer_stream_info_get_next()` returns a non-NULL stream info,
it refers to our descendant and that should be displayed. Otherwise, if
we are a container, recursively call `print_topology` on each of our
-children obatined with `gst_discoverer_container_info_get_streams()`.
+children obtained with `gst_discoverer_container_info_get_streams()`.
Otherwise, we are a final stream, and do not need to recurse (This part
of the Discoverer API is admittedly a bit obscure).