[mythtv-commits] mythtv commit: r7288 by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Sep 22 17:18:04 UTC 2005
Author: danielk
Date: 2005-09-22 17:18:02 +0000 (Thu, 22 Sep 2005)
New Revision: 7288
Changeset: http://cvs.mythtv.org/trac/changeset/7288
Modified:
trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.h
trunk/mythtv/libs/libmythtv/dbox2recorder.cpp
trunk/mythtv/libs/libmythtv/dtvrecorder.cpp
trunk/mythtv/libs/libmythtv/dtvrecorder.h
trunk/mythtv/libs/libmythtv/dvbchannel.cpp
trunk/mythtv/libs/libmythtv/dvbchannel.h
trunk/mythtv/libs/libmythtv/dvbrecorder.cpp
trunk/mythtv/libs/libmythtv/dvbrecorder.h
trunk/mythtv/libs/libmythtv/firewirerecorder.cpp
trunk/mythtv/libs/libmythtv/firewirerecorder.h
trunk/mythtv/libs/libmythtv/hdtvrecorder.cpp
trunk/mythtv/libs/libmythtv/hdtvrecorder.h
trunk/mythtv/libs/libmythtv/mpegrecorder.cpp
trunk/mythtv/libs/libmythtv/mpegrecorder.h
trunk/mythtv/libs/libmythtv/recorderbase.cpp
trunk/mythtv/libs/libmythtv/recorderbase.h
trunk/mythtv/libs/libmythtv/tv_rec.cpp
trunk/mythtv/libs/libmythtv/tv_rec.h
Log:
This changes the pausing in the recorders to use
QWaitConditions instead of busy waiting.
There is still a timeout on the waitconditions,
but it is 100,000 ns rather than 50-1000 ns.
This is needed because someone should be able to
close the recorder without unpausing first.
I've tested the DVB, MPEG and framebuffer recorders.
But I don't have a Firewire/DBOX2 cable box so...
There is also a little bit for cruft removal in
dtvrecorder, dvbrecorder, and hdtvrecorder.
The DVBRecorder in particular had a pretty broken
pause, it had to finish an infinte loop before it
would pause when channel was off-air.
More information about the mythtv-commits
mailing list