mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
markdown: Fix typo in docs
https://bugzilla.gnome.org/show_bug.cgi?id=797129
This commit is contained in:
parent
23b989838d
commit
9f622daacb
2 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ We will now look at some examples in the next sections.
|
||||||
|
|
||||||
```
|
```
|
||||||
.----------. .----------.
|
.----------. .----------.
|
||||||
| faksesrc | | fakesink |
|
| fakesrc | | fakesink |
|
||||||
| src->sink |
|
| src->sink |
|
||||||
'----------' '----------'
|
'----------' '----------'
|
||||||
|
|
||||||
|
@ -90,12 +90,12 @@ this:
|
||||||
|
|
||||||
- Alternatively, since the sync message is called in the thread
|
- Alternatively, since the sync message is called in the thread
|
||||||
context, you can use thread `ENTER`/`LEAVE` notifications to change the
|
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
|
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`
|
configure on the task. Below is the implementation of a `GstTaskPool`
|
||||||
subclass that uses pthreads to create a `SCHED_RR` real-time thread. Note
|
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
|
``` c
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
|
@ -195,7 +195,7 @@ audio_source = gst_element_factory_make ("audiotestsrc", "audio_source");
|
||||||
tee = gst_element_factory_make ("tee", "tee");
|
tee = gst_element_factory_make ("tee", "tee");
|
||||||
audio_queue = gst_element_factory_make ("queue", "audio_queue");
|
audio_queue = gst_element_factory_make ("queue", "audio_queue");
|
||||||
audio_convert = gst_element_factory_make ("audioconvert", "audio_convert");
|
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");
|
audio_sink = gst_element_factory_make ("autoaudiosink", "audio_sink");
|
||||||
video_queue = gst_element_factory_make ("queue", "video_queue");
|
video_queue = gst_element_factory_make ("queue", "video_queue");
|
||||||
visual = gst_element_factory_make ("wavescope", "visual");
|
visual = gst_element_factory_make ("wavescope", "visual");
|
||||||
|
|
Loading…
Reference in a new issue