[mythtv-commits] mythtv commit: r7067 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Aug 18 17:46:10 UTC 2005


      Author: danielk
        Date: 2005-08-18 17:46:10 +0000 (Thu, 18 Aug 2005)
New Revision: 7067
   Changeset: http://cvs.mythtv.org/trac/changeset/7067

Modified:

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

Log:

This fixes various bugs, and enables signal monitoring on channel change.

First in tv_play:
  If StartPlayer() fails when starting LiveTV
    StopStuff() now stops the NVP, as it should.
  If the OSD is started after a good signal is seen,
    the last signal message is used to set the signal OSD.
  A new message "SKIP_TO" is recognized, which allows the
    backend to tell the frontend to skip to a particular
    keyframe, allowing us to skip to the part of the ringbuffer
    with the non-dummy data when initially starting LiveTV.
  In UnpauseLiveTV(), if we fail to restart LiveTV, we now exit
    the player rather than enter an 'errored' state which just
    means a lot of
    "TV::HandleStateChange() Error, called after fatal error detected."
    messages get printed.

Then in tv_rec:
  StartRecorderPost() is now run in a separate thread when 
    signal monitoring is supported by the device and we are
    in LiveTV mode. This allows us to resume the event loop
    and handle aborting a recording during the tuning stage,
    which means an abortRecordingStart check has been added
    in various functions to support aborts.
  The ringbuffer is now properly destructed when non LiveTV
    recordings fail in the tuning stage.

The thing missing from this list of changes, which has been in the
signal monitoring patch, is the DummyDTVRecorder support. You
can now enable that by changing:
    #define ENABLE_DUMMY_REC 0
in tv_rec.cpp to
    #define ENABLE_DUMMY_REC 1

The reason it is disabled is that it breaks seeking and
because I've only generated a 1920x1088 dummy stream,
it only works on systems that support HDTV resolutions.

Note: The SKIP_TO code in tv_rec is also disabled because
of the broken seeking when using DummyDTVRecorder.






More information about the mythtv-commits mailing list