[mythtv-commits] mythtv commit: r7322 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Sep 27 18:20:00 UTC 2005


      Author: danielk
        Date: 2005-09-27 18:19:59 +0000 (Tue, 27 Sep 2005)
New Revision: 7322
   Changeset: http://cvs.mythtv.org/trac/changeset/7322

Modified:

   trunk/mythtv/libs/libmythtv/dbox2recorder.cpp
   trunk/mythtv/libs/libmythtv/dbox2recorder.h
   trunk/mythtv/libs/libmythtv/dtvrecorder.h
   trunk/mythtv/libs/libmythtv/dummydtvrecorder.cpp
   trunk/mythtv/libs/libmythtv/dummydtvrecorder.h
   trunk/mythtv/libs/libmythtv/dvbrecorder.cpp
   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/recorderbase.cpp
   trunk/mythtv/libs/libmythtv/recorderbase.h

Log:

deleteLater() support for recorders.

This is very boilerplate for most of the recorders.

However,

There a problem with the DummyDTVRecorder, its dtor
was leaving it's file descriptor open on shutdown.

The DBox2Recorder dtor however could cause SEGFAULTs
in several places if it's deleted after DBox2Channel()
as it is in ~TVRec. This is because it uses the
deleted channel instance during shutdown. I've
fixed this in the dtor and added initialization
for some uninitialized variables in the ctor.

I cleaned up the FirewireRecorder ctor/dtor, but
nothing major there.






More information about the mythtv-commits mailing list