[mythtv-firehose] mythtv/devel/mythtv-rec2 commit: f95ad9fcb by Daniel Kristjansson (daniel-kristjansson)
MythTV
noreply at mythtv.org
Tue Apr 10 07:43:00 UTC 2012
Author: Daniel Kristjansson <danielk at cuymedia.net>
Change Date: 2011-03-09T14:54:47-08:00
Push Date: 2012/04/10 00:41:52 -0700
Repository: mythtv
Branch: devel/mythtv-rec2
New Revision: f95ad9fcbe1829c75cb326a98018f79607a8ac36
Changeset: https://github.com/MythTV/mythtv/commit/f95ad9fcb
Log:
This does a few things for TVRec::FinishedRecording()
* It adds the job handling code and some other code that should be executed for all recordings to the method.
* It adds an integer parameter to track where FinishRecording is being called from and add more info to the VERBOSE macro.
* It adds tracking so that the portions that should only be run once (such as starting transcoding jobs) are only run once.
The last two were added because FinishedRecording() is run multiple times for some recordings.. As far as I can tell this only happens when there is a ring buffer change or when a recording is cancelled early (the normal case for the last recording in LiveTV). Anyway the debugging should help understand the cases where this happens better. And the tracking makes sure we don't do lots of unnecessary work.
Modified:
mythtv/libs/libmythtv/tv_rec.cpp
mythtv/libs/libmythtv/tv_rec.h
More information about the mythtv-firehose
mailing list