Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
Jan 11 22:03:17 linux vdr[6280]: buffer usage: 70% (tid=16386)
Jan 11 22:03:18 linux vdr[6280]: buffer usage: 80% (tid=16386)
Jan 11 22:03:19 linux vdr[6280]: buffer usage: 90% (tid=16386)
Jan 11 22:03:19 linux vdr[6280]: buffer usage: 100% (tid=16386)
This post has been edited 2 times, last edit by "klaus1234" (Jan 13th 2005, 10:43pm)
Quoted
#if 0 //XXX Sorry people, this was only a _test_ ... it never worked as expected!
Add(new cMenuEditBoolItem(tr("Setup.analogTV$Use PVR350 TV-out"), &sx.usePVR350, NO, YES));
#endif
Quoted
Original von klaus1234
Anscheinend läuft da ein Puffer voll.
Quoted
ivtv-firmware.c:106: warning: implicit declaration of function `open´
ivtv-firmware.c:112: warning: implicit declaration of function `lseek´
ivtv-firmware.c:123: warning: implicit declaration of function `read´
ivtv-firmware.c:129: warning: implicit declaration of function `close´
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
void cPvr350Writer::Action()
{
unsigned char *buf;
int length;
printf("Writer started pid %d\n",getpid());
while(running) {
if ( (buf = m_RingBuffer->Get(length) ) != NULL ) {
/* Writing a length of 4000 seems to keep ivtv happy */
// printf("%10i\n",length);
if ( length >= 4*1024 ) {
length = 4*1024;
safe_write(output,buf,length);
m_RingBuffer->Del(length);
} else {
safe_write(output,buf,length);
m_RingBuffer->Del(length);
usleep(1);
}
} else {
usleep(1);
}
}
}
|
This post has been edited 2 times, last edit by "Dr. Seltsam" (Jan 18th 2005, 11:05pm)