[mythtv-commits] mythtv commit: r7406 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Oct 7 18:46:38 UTC 2005


      Author: danielk
        Date: 2005-10-07 18:46:37 +0000 (Fri, 07 Oct 2005)
New Revision: 7406
   Changeset: http://cvs.mythtv.org/trac/changeset/7406

Modified:

   trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
   trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.h
   trunk/mythtv/libs/libmythtv/dbox2recorder.cpp
   trunk/mythtv/libs/libmythtv/dbox2recorder.h
   trunk/mythtv/libs/libmythtv/dtvrecorder.cpp
   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/dvbrecorder.h
   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
   trunk/mythtv/programs/mythtranscode/transcode.cpp

Log:

Adds RingBuffer switching support to mpegrecorder and dtvrecorder.

There are two new methods:
  RecorderBase::SetNextRecording(const ProgramInfo*, RingBuffer*);
and
  TVRec::RingBufferChanged()

You call the SetNextRecording() to request a ringbuffer and 
program info change, and the recorder will call the 
RingBufferChanged() immediately after the change. The mpegrecorder
and dtvrecorder both wait for the next keyframe and then perform
the switch.

The changes in the other recorders are to add TVRec as a parameter
for the constructors, and in the case of NuppelVideoRecorder to add
a dummy SetNextRecording() method

There is debugging code in TVRec to perform a buffer change,
but it is ifdef'ed out.

The change in programs/mythtranscode/transcode.cpp is simply
to add a NULL TVRec* parameter.

This is in support of the new LiveTV support Issac is working on.






More information about the mythtv-commits mailing list