[mythtv-commits] mythtv commit: r6844 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Jul 16 14:32:55 EDT 2005


      Author: danielk
        Date: 2005-07-16 18:32:54 +0000 (Sat, 16 Jul 2005)
New Revision: 6844
   Changeset: http://cvs.mythtv.org/trac/changeset/6844

Modified:

   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/tv_play.h

Log:

This simplifies the LiveTV() function by breaking out
much of it to a new RequestNextRecorder() function.
Also fixed a bug where we returned true from LiveTV()
whenever the player was not in the kState_None 
initially (i.e. if TV were in the kState_Error state
we would say everything was ok.)

Consolidates the duplicated code for Pausing and Unpausing LiveTV
in ToggleInputs(), ChangeChannel() and ChangeChannelByString().
The two functions are called PauseLiveTV() and UnpauseLiveTV().

Finally, in a few places I've added in some defensive checks for NULL
pointers in tv_play.cpp.






More information about the mythtv-commits mailing list