example: fix FIXME in example
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 28 Jan 2013 12:05:44 +0000 (13:05 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 28 Jan 2013 12:05:44 +0000 (13:05 +0100)
Use setpriority to raise priority

tests/examples/streams/stream-status.c

index 1331110..c94823e 100644 (file)
@@ -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;