Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: With the new DVB drivers...
Klaus Schmidinger wrote:
>
> Lauri Tischler wrote:
> >
> > Klaus Schmidinger wrote:
> > >
> > > I was under the impression that it was clear that you could only record
> > > channels on the same transponder - simple because there is only one tuner.
> > >
> > Yes, if one understands the difference between 'old' channels and 'new'
> > channels.
>
> What do you mean by 'old' and 'new' channels?
>
> > BTW. I was recording a movie from channel 3.
> > Channel 3 is on same uhf-channel as are channels 6,7 and 8
> > While switchin during the recording the log gives odd errors
> > --------
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[740]: switching to channel 2
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[885]: transfer thread ended
> > (pid=885)
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[740]: buffer stats: 136488
> > (13%) used
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[740]: switching to channel 1
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[740]: skipped channels 2..1
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[740]: switching to channel 3
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[886]: transfer thread started
> > (pid=886)
> > Sep 22 00:36:58 vdr syys 22 00:36:58 vdr[886]: ERROR: attempt to use
> > cPlayer::PlayVideo() without attaching to a cDevice!
> > Sep 22 00:36:59 vdr last message repeated 2716 times
> > Sep 22 00:36:59 vdr syys 22 00:36:59 vdr[886]: ERROR: attempt to use
> > cPlayer::PlayVideo() without attaching to a cDevice!
> > Sep 22 00:36:59 vdr last message repeated 5182 times
> > Sep 22 00:36:59 vdr syys 22 00:36:59 vdr[886]: ERROR (transfer.c,97):
> > Operation not permitted
> > Sep 22 00:36:59 vdr last message repeated 74 times
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[740]: switching to channel 4
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[886]: transfer thread ended
> > (pid=886)
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[740]: buffer stats: 317156
> > (30%) used
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[740]: switching to channel 5
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[740]: switching to channel 6
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[887]: transfer thread started
> > (pid=887)
> > Sep 22 00:37:08 vdr syys 22 00:37:08 vdr[740]: skipped channels 4..5
> > Sep 22 00:37:23 vdr syys 22 00:37:23 vdr[740]: switching to channel 7
> > Sep 22 00:37:23 vdr syys 22 00:37:23 vdr[887]: transfer thread ended
> > (pid=887)
> > Sep 22 00:37:23 vdr syys 22 00:37:23 vdr[740]: buffer stats: 39856
> > (3%) used
> > ---------------
> > I wonder what are those 'ERROR attempt to use cPlayer........'
> > and several thousends of them...
>
> Looks like there's a race condition somewhere. I've seen this, too, here
> and will take a look at it.
Here's the fix:
--- transfer.c 2002/06/23 12:56:49 1.2
+++ transfer.c 2002/09/22 09:50:48
@@ -47,9 +47,11 @@
void cTransfer::Receive(uchar *Data, int Length)
{
- int p = ringBuffer->Put(Data, Length);
- if (p != Length && active)
- esyslog("ERROR: ring buffer overflow (%d bytes dropped)", Length - p);
+ if (IsAttached()) {
+ int p = ringBuffer->Put(Data, Length);
+ if (p != Length && active)
+ esyslog("ERROR: ring buffer overflow (%d bytes dropped)", Length - p);
+ }
}
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
Home |
Main Index |
Thread Index