From 4e10e30c2f99d552239871aa1b27a08a6c18f1a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 5 Jun 2016 04:23:39 +0200 Subject: Imported Upstream version 0.23.1 --- src/VideoSupport.vala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/VideoSupport.vala') diff --git a/src/VideoSupport.vala b/src/VideoSupport.vala index 4e6f3ed..6543cf5 100644 --- a/src/VideoSupport.vala +++ b/src/VideoSupport.vala @@ -1,4 +1,4 @@ -/* Copyright 2010-2015 Yorba Foundation +/* Copyright 2016 Software Freedom Conservancy Inc. * * This software is licensed under the GNU LGPL (version 2.1 or later). * See the COPYING file in this distribution. @@ -258,8 +258,9 @@ public class VideoReader { if (ret_waitpid < 0) { debug("waitpid returned error code: %d", ret_waitpid); buf = null; - } else if (0 != posix_wexitstatus(child_status)) { - debug("Thumbnailer exited with error code: %d", posix_wexitstatus(child_status)); + } else if (0 != Process.exit_status(child_status)) { + debug("Thumbnailer exited with error code: %d", + Process.exit_status(child_status)); buf = null; } -- cgit v1.2.3