From 9f622daacb17a21772b93992ac36b2b61d833800 Mon Sep 17 00:00:00 2001 From: H1Gdev Date: Wed, 12 Sep 2018 16:18:12 +0900 Subject: [PATCH] markdown: Fix typo in docs https://bugzilla.gnome.org/show_bug.cgi?id=797129 --- markdown/application-development/advanced/threads.md | 6 +++--- .../tutorials/basic/multithreading-and-pad-availability.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/markdown/application-development/advanced/threads.md b/markdown/application-development/advanced/threads.md index 03e86493b0..79c065debc 100644 --- a/markdown/application-development/advanced/threads.md +++ b/markdown/application-development/advanced/threads.md @@ -65,7 +65,7 @@ We will now look at some examples in the next sections. ``` .----------. .----------. -| faksesrc | | fakesink | +| fakesrc | | fakesink | | src->sink | '----------' '----------' @@ -90,12 +90,12 @@ this: - Alternatively, since the sync message is called in the thread context, you can use thread `ENTER`/`LEAVE` notifications to change the - priority or scheduling pollicy of the current thread. + priority or scheduling policy of the current thread. In a first step we need to implement a custom `GstTaskPool` that we can configure on the task. Below is the implementation of a `GstTaskPool` subclass that uses pthreads to create a `SCHED_RR` real-time thread. Note -that creating real-time threads might require extra priveleges. +that creating real-time threads might require extra privileges. ``` c #include diff --git a/markdown/tutorials/basic/multithreading-and-pad-availability.md b/markdown/tutorials/basic/multithreading-and-pad-availability.md index 5f5232bb78..a64bf75757 100644 --- a/markdown/tutorials/basic/multithreading-and-pad-availability.md +++ b/markdown/tutorials/basic/multithreading-and-pad-availability.md @@ -195,7 +195,7 @@ audio_source = gst_element_factory_make ("audiotestsrc", "audio_source"); tee = gst_element_factory_make ("tee", "tee"); audio_queue = gst_element_factory_make ("queue", "audio_queue"); audio_convert = gst_element_factory_make ("audioconvert", "audio_convert"); - audio_resample = gst_element_factory_make ("audioresample", "audio_resample"); +audio_resample = gst_element_factory_make ("audioresample", "audio_resample"); audio_sink = gst_element_factory_make ("autoaudiosink", "audio_sink"); video_queue = gst_element_factory_make ("queue", "video_queue"); visual = gst_element_factory_make ("wavescope", "visual");