[mythtv-firehose] mythtv branch master updated by jyavenard. v0.27-pre2-1611-g23d6d74

Git Repo Owner noreply at mythtv.org
Fri Jun 28 16:01:52 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  23d6d747af210e792f684289c81a919aacc0b809 (commit)
       via  16b9e399b12588c0b9c43a60c663a94037b00023 (commit)
      from  882bf2630e88b31e83ed07eb3283102976136ace (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 23d6d747af210e792f684289c81a919aacc0b809
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 29 Jun 2013 01:51:50 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 29 Jun 2013 01:51:50 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=23d6d747af210e792f684289c81a919aacc0b809

Do not use an on-demand timer to delay deletion of the stream handler.
the IPTVChannel instance got created in the main thread, SetStreamData can be called from different thread: the event handler (running the SignalMonitor) and the recording thread. So creating the timer could sometimes fail as not created in the thread.
So instead we keep one timer firing every 5s; and check if the stream handler has been marked for deletion.
If so, the stream handler will be deleted between 5s (worse case) and 10s.



commit 16b9e399b12588c0b9c43a60c663a94037b00023
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 29 Jun 2013 01:23:31 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 29 Jun 2013 01:23:31 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=16b9e399b12588c0b9c43a60c663a94037b00023

Delete TVRec objects in the thread they were created



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

Summary of changes:
 mythtv/libs/libmythtv/recorders/iptvchannel.cpp |   28 ++++++++++------------
 mythtv/libs/libmythtv/recorders/iptvchannel.h   |    9 +++++--
 mythtv/libs/libmythtv/tv_rec.cpp                |   22 +++++++++--------
 3 files changed, 31 insertions(+), 28 deletions(-)

-- 



More information about the mythtv-firehose mailing list