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
- To: vdr@linuxtv.org
- Subject: [vdr] Re: unknwon picture type / error in data stream in Radiorecording
- From: Thomas Rausch <Thomas.Rausch@gmx.de>
- Date: Sat, 27 Sep 2003 00:26:07 +0200
- Content-type: text/plain; charset=us-ascii; format=flowed
- In-reply-to: <3F3DEC66.C58CF38F@cadsoft.de>
- References: <000001c36363$9293fcb0$640010ac@diamond> <3F3DEC66.C58CF38F@cadsoft.de>
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (compatible; MSIE5.5; Windows 98;
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