diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-12-06 19:41:45 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-12-06 19:41:45 +0000 |
commit | 5ae90828aee98fcb41f68c3c7c4ffafde58d6de7 (patch) | |
tree | 3382449dbaf9eb9e0621437bf45a755a73f3be5e /capture.c | |
parent | d6c5410b182fb8c70a488b0457d933f70d3de3e7 (diff) |
we can even get error messages while we are capturing (e.g. when a network cable is unplugged)
problem found by Joerg Mayer
svn path=/trunk/; revision=16704
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -359,17 +359,17 @@ capture_input_drops(capture_options *capture_opts, int dropped) } -/* Capture child told us, that an error has occurred while starting the capture. */ +/* Capture child told us, that an error has occurred while starting/running the capture. */ void capture_input_error_message(capture_options *capture_opts, char *error_message) { g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_MESSAGE, "Error message from child: \"%s\"", error_message); - g_assert(capture_opts->state == CAPTURE_PREPARING); + g_assert(capture_opts->state == CAPTURE_PREPARING || capture_opts->state == CAPTURE_RUNNING); simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", error_message); - /* the capture child will close the sync_pipe, nothing to do for now */ + /* the capture child will close the sync_pipe if required, nothing to do for now */ } |