[mythtv-commits] mythtv commit: r7367 by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Sep 30 16:17:19 UTC 2005
Author: danielk
Date: 2005-09-30 16:17:19 +0000 (Fri, 30 Sep 2005)
New Revision: 7367
Changeset: http://cvs.mythtv.org/trac/changeset/7367
Modified:
trunk/mythtv/libs/libmythtv/tv_rec.cpp
Log:
Handle RingBuffer? shutdown better on error conditions.
This seems to have been causing some of the problems
people are reporting. If the StartRecorder() method
failed we didn't enter the kFlagRecorderRunning state,
and hence wouldn't shut down the recorder and ringbuffer.
If for some reason the starting up the recorder failed
in LiveTV we didn't send a QUIT_LIVETV to the frontend,
so StopLiveTV() was never called and so the ringbuffer
for LiveTV remained around. This shouldn't really happen
unless device permissions or compile flags are broken.
More information about the mythtv-commits
mailing list