This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: libv4l2: decomress-helper: close fds then wait for helper to exit
Author:  Hans de Goede <[email protected]>
Date:    Tue Apr 22 11:38:39 2014 +0200

Killing the helper does not always work (as it inherits its parent sigmask),
instead of meddling with the sigmask simply close the fds and wait for the
helper to cleanly exit.

Reported-by: Волков Андрей <[email protected]>
Tested-by: Волков Андрей <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>

 lib/libv4lconvert/helper.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=056eaf051f90a831e144de6420f81f2548d87fd3

diff --git a/lib/libv4lconvert/helper.c b/lib/libv4lconvert/helper.c
index 00e9e42..b15beb0 100644
--- a/lib/libv4lconvert/helper.c
+++ b/lib/libv4lconvert/helper.c
@@ -212,12 +212,9 @@ void v4lconvert_helper_cleanup(struct v4lconvert_data 
*data)
        int status;
 
        if (data->decompress_pid != -1) {
-               kill(data->decompress_pid, SIGTERM);
-               waitpid(data->decompress_pid, &status, 0);
-
                close(data->decompress_out_pipe[WRITE_END]);
                close(data->decompress_in_pipe[READ_END]);
-
+               waitpid(data->decompress_pid, &status, 0);
                data->decompress_pid = -1;
        }
 }

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to