Log libevent errors through our own logger

This commit is contained in:
Julien BLACHE
2009-05-08 18:17:01 +02:00
parent 11f18eaf6f
commit c3a5222f84
3 changed files with 42 additions and 3 deletions

View File

@@ -447,6 +447,9 @@ int main(int argc, char *argv[]) {
exit(EXIT_FAILURE);
}
/* Set up libevent logging callback */
event_set_log_callback(logger_libevent);
DPRINTF(E_LOG, L_MAIN, "Firefly Version %s taking off\n", VERSION);
/* initialize ffmpeg */