[rygel/wip/meson: 2/28] media-export: Check nice return value
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 2/28] media-export: Check nice return value
- Date: Sun, 21 May 2017 17:58:58 +0000 (UTC)
commit a970800cafdc238efe5a4315627c88dfe0d14182
Author: Jens Georg <mail jensge org>
Date: Mon Apr 17 09:31:33 2017 +0200
media-export: Check nice return value
Signed-off-by: Jens Georg <mail jensge org>
.../media-export/rygel-media-export-extract.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-extract.vala
b/src/plugins/media-export/rygel-media-export-extract.vala
index 3bcea36..a121131 100644
--- a/src/plugins/media-export/rygel-media-export-extract.vala
+++ b/src/plugins/media-export/rygel-media-export-extract.vala
@@ -166,7 +166,9 @@ int main (string[] args) {
return Posix.EXIT_FAILURE;
}
- Posix.nice (19);
+ if (Posix.nice (19) < 0) {
+ debug ("Failed to reduce nice level of thumbnailer, continuing anyway");
+ }
var registry = Gst.Registry.@get ();
var features = registry.feature_filter (vaapi_filter, false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]