[mythtv] Two entries for every recording and black screen not
danielk at cuymedia.net
Tue Dec 6 05:19:38 UTC 2005
On Mon, 2005-12-05 at 18:47 -0500, Chris Pinkham wrote:
> > On Mon, 2005-12-05 at 21:37 +0100, Adam Egger wrote:
> > > Regarding:
> > > Ticket #742 - DVB dummy stream also recorded
> The second entries he's seeing are dated one second apart. Here's the output
> from a select I had him run while looking into the AutoExpire issues.
> I don't know enough how the dummy recorder works, or how it interacts with LiveTV, but
> I wonder if we should be calling TVRec::StartedRecording(prog);() inside
> TVRec::GetProgramRingBufferForLiveTV() when we are switching from a dummy recorder.
This sounds like #742, but this needs to be this way or the LiveTV recordings
would all have a "no signal" stream prepended to them. These short "no signal"
streams should get deleted by the autoexpire thread pretty quickly.
The only problem I know of with this at the moment is that
AvFormatDecoder::Reset() is having some issues with a RingBuffer
switch happens before there is much data in the new recording file.
This happens if you switch between channels on the same transport,
for example. I'm testing a more robust Reset() locally, but until
I have the kinks worked out it should be fairly safe to just add
a "return;" after the first line of that function; you might lose
playback of the first few frames of the new recording, but that
is probably preferable being kicked out of LiveTV with a av_format
More information about the mythtv-dev