[mythtv-commits] mythtv branch master updated by jstichnoth. v0.27-pre2-1281-g0529d46

Git Repo Owner noreply at mythtv.org
Fri Jun 7 14:21:28 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  0529d462c7dd92f3c7be3fa2b3e037c36c0951de (commit)
      from  ce9e95c1917bc3012c37f0fb1d430e8f3bcf4ea1 (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 0529d462c7dd92f3c7be3fa2b3e037c36c0951de
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 7 Jun 2013 07:11:04 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 7 Jun 2013 07:11:04 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0529d462c7dd92f3c7be3fa2b3e037c36c0951de

Simplify LiveTVChain updates during channel changes.
A channel change during Live TV usually involves 4 updates to the
LiveTVChain - starting and stopping the dummy and actual recordings.

On the frontend, each update caused a reload of the tvchain entries
from the database.  This is improved by sending the new contents of
the LiveTVChain as part of the update message from the backend, to
avoid the DB queries.

In addition, the update mechanism on the frontend of using a timer
event to defer the update is removed.  Originally, this was probably
done to allow the DB query to proceed outside the UI thread, but
currently the timer event handler is in the same thread as the message
handler, so this deferral was almost entirely unnecessary.

There is still the minor issue that each update message from the
backend appears to be handled twice by the frontend, though this
doesn't affect correctness.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/livetvchain.cpp   |  135 ++++++++++++++++++++++++-------
 mythtv/libs/libmythtv/livetvchain.h     |    8 ++-
 mythtv/libs/libmythtv/playercontext.cpp |    4 +-
 mythtv/libs/libmythtv/playercontext.h   |    2 +-
 mythtv/libs/libmythtv/tv_play.cpp       |   31 +-------
 mythtv/libs/libmythtv/tv_play.h         |    1 -
 6 files changed, 117 insertions(+), 64 deletions(-)

-- 



More information about the mythtv-commits mailing list