[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Jun 20 21:45:02 UTC 2005


----------------------------------------------------------------------------
Changes committed by danielk on Mon Jun 20 21:42:07 2005

Modified Files:
   in mythtv/libs/libmythtv:
        tv_rec.cpp tv_rec.h 
Log Message:

Minorish cleanup of TVRec:
 * Const correctness for StoreInputChannels()
 * Rename recorder thread from encoder to recorder_thread
 * Rename event thread from event to event_thread
 * Move stateChangeLock declaration to be near state instance variables
 * Remove unused TVRec instance variables watchingLiveTV and prevRecording
 * Allocate the largish requestBuffer seperately and in 16 byte
   aligned memory.
 * Add two methods Pause()/Unpause() and use them in place of
   redundant code in ToggleInputs(), ChangeChannel() & SetChannel()
 * Some more documentation

Pause(), is somewhat misnamed. It does pause and reset the ringbuffer,
but it requires that you have called PauseRecorder() first. At some point
these should probably be merged into one pause function, but I don't
want to change the Myth Network Protocol for this cleanup patch.


----------------------------------------------------------------------------


More information about the mythtv-commits mailing list