diff options
author | Andreas Auras <yak54@inkennet.de> | 2011-03-04 00:35:51 +0100 |
---|---|---|
committer | Andreas Auras <yak54@inkennet.de> | 2011-03-04 00:35:51 +0100 |
commit | c22fa4ca8336d868f52bb197541dcaf98625e013 (patch) | |
tree | 0c041276089f94fd73907529bf3e66dc9e2cf7c2 | |
parent | 00289bd75d4894ebdddfe8c13600faffd59c339b (diff) | |
download | xine-lib-atmolight-c22fa4ca8336d868f52bb197541dcaf98625e013.tar.gz xine-lib-atmolight-c22fa4ca8336d868f52bb197541dcaf98625e013.tar.bz2 |
More unique error logging
-rw-r--r-- | xine_post_atmo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_post_atmo.c b/xine_post_atmo.c index 4fe6813..723470b 100644 --- a/xine_post_atmo.c +++ b/xine_post_atmo.c @@ -1289,14 +1289,14 @@ static void start_threads(atmo_post_plugin_t *this) { pthread_mutex_lock(&this->lock); if (this->grab_running == NULL) { if ((err = pthread_create (&this->grab_thread, &pth_attrs, atmo_grab_loop, this))) - xprintf(this->post_plugin.xine, XINE_VERBOSITY_LOG, "atmo: can't create grab thread (%s)\n", strerror(err)); + xine_log(this->post_plugin.xine, XINE_LOG_PLUGIN, "atmo: can't create grab thread (%s)\n", strerror(err)); else pthread_cond_wait(&this->thread_started, &this->lock); } if (this->output_running == NULL) { if ((err = pthread_create (&this->output_thread, &pth_attrs, atmo_output_loop, this))) - xprintf(this->post_plugin.xine, XINE_VERBOSITY_LOG, "atmo: can't create output thread (%s)\n", strerror(err)); + xine_log(this->post_plugin.xine, XINE_LOG_PLUGIN, "atmo: can't create output thread (%s)\n", strerror(err)); else pthread_cond_wait(&this->thread_started, &this->lock); } @@ -1328,7 +1328,7 @@ static void stop_threads(atmo_post_plugin_t *this) { while (this->grab_running || this->output_running) { if (pthread_cond_timedwait(&this->thread_stopped, &this->lock, &ts) == ETIMEDOUT) { - llprintf(LOG_1, "timeout while waiting for thread stop!\n"); + xine_log(this->post_plugin.xine, XINE_LOG_PLUGIN, "atmo: timeout while waiting for thread stop!\n"); break; } } |