Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Bug: in timeshift rec_and_play?
- To: vdr@linuxtv.org
- Subject: [vdr] Bug: in timeshift rec_and_play?
- From: Christoph Gohle <christoph@gohle.org>
- Date: Tue, 23 Sep 2003 14:24:59 +0200
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset=ISO-8859-1; format=flowed
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Hi,
disabling the DO_MULTIPLE_RECORDINGS define in dvbdevice.c of vdr-1.2.0
(and later?) breaks timeshift recording. The symptom is that if you
start a recording and then start a replay, neither the recording
continiues nor the replay will start, leaving you with a black screen.
I've tried to track down the problem and found that playing around with
the lines in dvbdevice.c:
#ifndef DO_MULTIPLE_RECORDINGS
TurnOffLivePIDs = TurnOnLivePIDs = true;
StartTransferMode = false;
#endif
changes the behaviour. But I didn't manage to make it working correctly
due to a lack of understanding, what is going on (stupid me ;-)). But it
seeems to me, that the livepids should not always be turned off and on
again if you start or stop replaying during a recording. For example, if
i used the following version (so taking into account that
StartTransferMode will be false)
#ifndef DO_MULTIPLE_RECORDINGS
TurnOffLivePIDs = TurnOnLivePIDs = true;
StartTransferMode = false;
bool TurnOnLivePIDs = HasDecoder() && !StartTransferMode
&& (IsEncrypted // CA channels can only be
decrypted in "live" mode
|| LiveView
);
#endif
I could start a replay without breaking the recording as long as i
didn't stop the replay again (as I said I really don't understand whats
going on, just some experiments...).
The reason, why i don't want to use DO_MULTIPLE_RECORDINGS is this ever
annoying ringbuffer overflow that transfer.c produces every once in a
while which is in my case sometimes even braking the recordings... (its
not only me that has this problem, see
http://www.linuxtv.org/mailinglists/vdr/2003/08-2003/msg01166.html or
http://www.linuxtv.org/mailinglists/vdr/2003/08-2003/msg00187.html) if i
switch off DO_MULTIPLE_RECORDINGS transfer.c will not be invoked for my
single card system and everything is fine.
But i would be glad if one could save the timeshift feature.
My system is a Pentium 133 with 1 DVB-s 1.3, running on kernel 2.4.18
(maybe that's the problem, see msg00187 from above? or maybe it's reiserfs?)
Best wishes,
Christoph.
--
*********************************************************
*Christoph Gohle *
* *
*Gailkircherstrasse 7 *
*81247 München *
* *
*Tel.: 089 32905-266 (Büro) *
* -257 (Labor) *
* 089 8116932 (Privat) *
* 0179 6089431 (Mobil) *
*mail: chef@mnet-online.de *
*********************************************************
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index