
noreply at mythtv
Jul 29, 2012, 6:00 PM
Post #1 of 1
(54 views)
Permalink
|
|
mythtv branch master updated by danielk. v0.26-alpha-55-gf9a46e0
|
|
The branch, master has been updated on the mythtv repository by gitolite user danielk. via f9a46e0683ad9cf7fe04a9c523247dbe48105bae (commit) via f3fb6f066ef12d470695c6934a023e26a557c6bb (commit) via 292323d67a2aa9980a79e8c74f090b9735029b36 (commit) from 52392963b380173f1e4343036f6814bd59a2f0af (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f9a46e0683ad9cf7fe04a9c523247dbe48105bae Author: Daniel Kristjansson <danielk [at] cuymedia> at Sun, 29 Jul 2012 20:52:26 -0400 Committer: Daniel Kristjansson <danielk [at] cuymedia> at Sun, 29 Jul 2012 21:00:29 -0400 URL: http://code.mythtv.org/cgit/mythtv/commit/?id=f9a46e0683ad9cf7fe04a9c523247dbe48105bae Fix SIGINT/SIGTERM handling during video playback. This was broken when SignalHandler was introduced. There were two problems: 1/ Calling QCoreApplication::exit()/quit() doesn't actually make the program exit if it is in the video playback loop since we take over the UI event loop. This has been fixed by periodically checking SignalHandler::IsExiting() and setting TV::wantsToExit if it is true. 2/ The VideoOutputXv already had a signal handler for SIGINT, but so when we exit playback the first time we were resetting the SIGINT handler. This has been fixed by using the SignalHandler::SetHandler() method introduced in the last commit instead of registering a signal handler ourselves and making the new signal handler call QCoreApplication::exit() instead of exit(). commit f3fb6f066ef12d470695c6934a023e26a557c6bb Author: Daniel Kristjansson <danielk [at] cuymedia> at Sun, 29 Jul 2012 18:32:58 -0400 Committer: Daniel Kristjansson <danielk [at] cuymedia> at Sun, 29 Jul 2012 21:00:29 -0400 URL: http://code.mythtv.org/cgit/mythtv/commit/?id=f3fb6f066ef12d470695c6934a023e26a557c6bb Make SignalHandler a singleton. There can only be one SignalHandler object per application. This allows AddHandler to be a static method so it can be used outside the main initialization. Since AddHandler doesn't actually chain handlers as suggested by it's name this also renames the method to SetHandler. This also adds a lock for m_sigMap so we can call SetHandler in a thread other than the main thread. Finally, this allows a handler to be added for SIGINT and SIGKILL. commit 292323d67a2aa9980a79e8c74f090b9735029b36 Author: Daniel Kristjansson <danielk [at] cuymedia> at Sun, 29 Jul 2012 19:36:54 -0400 Committer: Daniel Kristjansson <danielk [at] cuymedia> at Sun, 29 Jul 2012 21:00:29 -0400 URL: http://code.mythtv.org/cgit/mythtv/commit/?id=292323d67a2aa9980a79e8c74f090b9735029b36 Set s_pgq to NULL after we delete it PreviewGeneratorQueue. ----------------------------------------------------------------------- Summary of changes: mythtv/libs/libmythbase/signalhandling.cpp | 84 +++++++++++++++++++---- mythtv/libs/libmythbase/signalhandling.h | 15 +++- mythtv/libs/libmythtv/previewgeneratorqueue.cpp | 1 + mythtv/libs/libmythtv/tv_play.cpp | 6 ++ mythtv/libs/libmythtv/util-xv.cpp | 33 ++++++--- mythtv/programs/mythavtest/main.cpp | 10 +++ mythtv/programs/mythbackend/main.cpp | 2 +- mythtv/programs/mythbackend/main_helpers.cpp | 3 + mythtv/programs/mythccextractor/main.cpp | 3 +- mythtv/programs/mythcommflag/main.cpp | 4 +- mythtv/programs/mythfilldatabase/main.cpp | 4 +- mythtv/programs/mythfrontend/main.cpp | 8 ++- mythtv/programs/mythjobqueue/main.cpp | 4 +- mythtv/programs/mythlcdserver/main.cpp | 6 ++- mythtv/programs/mythlogserver/main.cpp | 6 +- mythtv/programs/mythmediaserver/main.cpp | 4 +- mythtv/programs/mythmetadatalookup/main.cpp | 4 +- mythtv/programs/mythpreviewgen/main.cpp | 3 +- mythtv/programs/mythshutdown/main.cpp | 5 +- mythtv/programs/mythtranscode/main.cpp | 4 +- mythtv/programs/mythtv-setup/main.cpp | 4 +- mythtv/programs/mythutil/main.cpp | 4 +- mythtv/programs/mythwelcome/main.cpp | 11 +++- 23 files changed, 176 insertions(+), 52 deletions(-) -- _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-commits
|