Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: unknwon picture type / error in data stream in Radiorecording



Klaus Schmidinger schrieb:

Well, it's very simple:

- locate the file that contains the error message:

kls@hawk2:/home/kls/vdr/VDR > grep "nknown picture ty" *.c
remux.c: esyslog("ERROR: unknown picture type '%d'", pt);

- edit that file and change the lines

if (pt < I_FRAME || B_FRAME < pt)
esyslog("ERROR: unknown picture type '%d'", pt);

to

if (pt < I_FRAME || B_FRAME < pt) {
esyslog("ERROR: unknown picture type '%d'", pt);
cThread::EmergencyExit(true);
}


This works fine for TV-Recordings, but where I can do the cThread::EmergencyExit(true); insert?

Perhaps (remux.c):

case AUDIO_STREAM_S ... AUDIO_STREAM_E:
{
int l = GetPacketLength(resultBuffer, resultCount, i);
if (l < 0)
return NULL; // no useful data found, wait for more
// ?? :
// ?? esyslog("ERROR: unknown picture type '%d'", pt);
// ?? cThread::EmergencyExit(true);
// ?? :
if (synced) {
Result = l;
uchar *p = resultBuffer + resultDelivered;
resultDelivered += l;
return p;
}
else {




--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index