aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-28 21:05:53 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-28 21:05:53 +0000
commit0b132c9b1d8dba90d92b3ea3a9ccc010ba40a70e (patch)
tree48a1f3fd3998706aa9221628f162698cf50acaea /capture.c
parent778c9abaeaa51403c30c017b9a7a870e1135593e (diff)
bugfixes: bring non real-time captures back to former behaviour, other minor fixes
svn path=/trunk/; revision=13961
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture.c b/capture.c
index cd5e485ae6..ed7b7ad431 100644
--- a/capture.c
+++ b/capture.c
@@ -221,6 +221,9 @@ capture_input_new_file(capture_options *capture_opts, gchar *new_file)
return FALSE;
break;
}
+
+ /* XXX - currently won't work with non real-time mode */
+ cf_callback_invoke(cf_cb_live_capture_started, capture_opts->cf);
}
return TRUE;
@@ -292,6 +295,9 @@ capture_input_closed(capture_options *capture_opts)
we registered get called. */
main_window_quit();
}
+
+ cf_callback_invoke(cf_cb_live_capture_finished, capture_opts->cf);
+
} else {
/* this is a normal mode capture, read in the capture file data */
capture_input_read_all(capture_opts, cf_is_tempfile(capture_opts->cf),