mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
example: fix FIXME in example
Use setpriority to raise priority
This commit is contained in:
parent
d2b03a4537
commit
b215950234
1 changed files with 2 additions and 4 deletions
|
@ -82,10 +82,8 @@ sync_bus_handler (GstBus * bus, GstMessage * message, GstElement * bin)
|
|||
g_message ("created task %p", task);
|
||||
break;
|
||||
case GST_STREAM_STATUS_TYPE_ENTER:
|
||||
if (task) {
|
||||
/* g_message ("raising task priority for %p", task); */
|
||||
/* FIXME: do something here */
|
||||
}
|
||||
/* g_message ("raising task priority"); */
|
||||
/* setpriority (PRIO_PROCESS, 0, -10); */
|
||||
break;
|
||||
case GST_STREAM_STATUS_TYPE_LEAVE:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue