aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-05-25 23:28:59 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-05-25 23:28:59 +0000
commit351214282dba3126faea8ccab2e3310f4ce35cf7 (patch)
tree4f69d9d73ef5eed2db24a06371fd7aa68013162e /capture.c
parentb3b72959a23905eda7a6cf68c5f531daea63acd5 (diff)
the capture child might not respond shortly after bringing it up (especially it will block, if no input coming from an input capture pipe (e.g. mkfifo) is coming in)
to prevent problems, bring the main GUI into "capture mode" right after successfully spawn/exec the capture child, without waiting for any response from it svn path=/trunk/; revision=14436
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/capture.c b/capture.c
index db8ff029ef..2d8b23c0a8 100644
--- a/capture.c
+++ b/capture.c
@@ -98,6 +98,13 @@ capture_start(capture_options *capture_opts)
}
capture_opts->state = CAPTURE_STOPPED;
+ } else {
+ /* the capture child might not respond shortly after bringing it up */
+ /* (especially it will block, if no input coming from an input capture pipe (e.g. mkfifo) is coming in) */
+
+ /* to prevent problems, bring the main GUI into "capture mode" right after successfully */
+ /* spawn/exec the capture child, without waiting for any response from it */
+ cf_callback_invoke(cf_cb_live_capture_prepared, capture_opts);
}
return ret;