[mythtv-commits] mythtv commit: r7250 - in trunk/mythtv by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Sep 15 02:30:25 UTC 2005
Author: cpinkham
Date: 2005-09-15 02:30:23 +0000 (Thu, 15 Sep 2005)
New Revision: 7250
Changeset: http://cvs.mythtv.org/trac/changeset/7250
Modified:
trunk/mythtv/libs/libmythtv/jobqueue.cpp
trunk/mythtv/libs/libmythtv/jobqueue.h
trunk/mythtv/libs/libmythtv/tv_rec.cpp
trunk/mythtv/programs/mythbackend/mainserver.cpp
trunk/mythtv/programs/mythcommflag/ClassicCommDetector.cpp
trunk/mythtv/programs/mythcommflag/main.cpp
Log:
JobQueue/mythcommflag fixes and updates.
- Fix a place where mythcommflag was not respond immediately
to a JOB_STOP message from the JobQueue while in a long-running loop.
- Fix a bug where mythcommflag wasn't properly detecting when a program
finished recording while it was being flagged.
- Initialize framesProcessed to 0 in ClassicCommDetector.
- Fix mythcommflag to act on the result of commDetector->go() properly.
This bug and the one right above has probably caused a few of the
OOM errors some have seen since the detector could go off into a loop
using an unitialized variable as the stopping point when it never should
have been in the loop to begin with.
- Move some job queueing code out of tv_rec.cpp into jobqueue.cpp.
- Add code to JobQueue::DeleteAllJobs to display list of running jobs
if they do not stop when requested and so are left in their current
state by DeleteAllJobs(). mythcommflag and mythtranscode should respond
to JOB_STOP messages so this should not be required except for User Jobs,
but the debug info will help if running jobs don't cooperate like with
mythcommflag and the bug I mentioned a few paragraphs up from here.
More information about the mythtv-commits
mailing list