Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: VDR 1.1.2x and mplayer/mp3-plugin
> > On 30 Mar 2003 a.share@t-online.de (Andreas Share) wrote:
> >
> > > since i use the the 1.1.2x version of vdr i got lots of following
errors
> in
> > > the log.
> > >
> > > Mar 30 17:38:05 vdr vdr[2518]: ERROR (dvbdevice.c,633): Invalid
argument
> > > Mar 30 17:38:05 vdr vdr[2518]: ERROR (dvbdevice.c,621): Invalid
argument
> > > Mar 30 17:38:05 vdr vdr[2518]: ERROR: failed to set PIDs for channel
84
> on
> > > device 2
> >
> > Could you and the other please state what is on line 633 & 621 in
> > dvbdevice.c in YOUR vdr version. In plain 1.1.26 there are no
> > command on these line which can cause such an output.
> >
> > It also could be interesting to see the full vdr log from the
> > beginning (actually which thread is 2518?). Please send logs by
> > mail.
Log comes vie private Mail.
As long as mplayer play some mpeg2-file the error will be logged...
-------
bool cDvbDevice::SetPid(cPidHandle *Handle, int Type, bool On)
{
if (Handle->pid) {
dmx_pes_filter_params pesFilterParams;
memset(&pesFilterParams, 0, sizeof(pesFilterParams));
if (On) {
if (Handle->handle < 0) {
Handle->handle = DvbOpen(DEV_DVB_DEMUX, CardIndex(), O_RDWR |
O_NONB$
if (Handle->handle < 0)
return false;
}
pesFilterParams.pid = Handle->pid;
pesFilterParams.input = DMX_IN_FRONTEND;
pesFilterParams.output = (Type <= ptTeletext && Handle->used <= 1)
? D$
pesFilterParams.pes_type= PesTypes[Type < ptOther ? Type : ptOther];
pesFilterParams.flags = DMX_IMMEDIATE_START;
if (ioctl(Handle->handle, DMX_SET_PES_FILTER, &pesFilterParams) < 0)
{
LOG_ERROR; <------Line 621
return false;
}
}
else if (!Handle->used) {
CHECK(ioctl(Handle->handle, DMX_STOP));
if (Type <= ptTeletext) {
pesFilterParams.pid = 0x1FFF;
pesFilterParams.input = DMX_IN_FRONTEND;
pesFilterParams.output = DMX_OUT_DECODER;
pesFilterParams.pes_type= PesTypes[Type];
pesFilterParams.flags = DMX_IMMEDIATE_START;
CHECK(ioctl(Handle->handle, DMX_SET_PES_FILTER,
&pesFilterParams)); <- Line 633
if (PesTypes[Type] == DMX_PES_VIDEO) // let's only do this once
SetPlayMode(pmNone); // necessary to switch a PID from
DMX_PES_VI$
}
close(Handle->handle);
Handle->handle = -1;
}
}
return true;
}
Greetings
A.Share
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index