From b215950234479a6d7e0a29d1ec2c34204d5d5433 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 28 Jan 2013 13:05:44 +0100 Subject: [PATCH] example: fix FIXME in example Use setpriority to raise priority --- tests/examples/streams/stream-status.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/examples/streams/stream-status.c b/tests/examples/streams/stream-status.c index 1331110a04..c94823e911 100644 --- a/tests/examples/streams/stream-status.c +++ b/tests/examples/streams/stream-status.c @@ -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;