Mailing List archive

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

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




-------- Original Message --------
Subject: [vdr] Re: unknwon picture type / error in data stream (17-Aug-2003 15:14)
From:    greg@magma.unil.ch
To:      vdr@linuxtv.org

> On Sat, Aug 16, 2003 at 10:33:42AM +0200, Klaus Schmidinger wrote:
> 
> > 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);
> >                            }
> 
> 
> From my point of view, it's something that should have come already in
> the vdr-1.2.pre3 I am right now compiling ;-)

The patch is only reasonable if you just have one card,
otherwise you may have breaks in recordings if there
are other running recordings and a emergency exit is
triggered.

In that case a solution could be to remember the occurence
of the error and trigger a restart as soon as there are no
more running recordings.

...Andreas




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



Home | Main Index | Thread Index