mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20: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>
|
||||||
|
|
Loading…
Reference in a new issue