Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: vdr-error
Ralf Spachmann wrote:
>
> Hi all,
>
> any idea why the IOCTL in line 2090 of latest VDR
> shows that in syslog
>
> vdr[6869]: ERROR (dvbapi.c,2090): Invalid argument
>
> according code:
>
> bool cDvbApi::SetPid(int fd, dmxPesType_t PesType, int Pid, dmxOutput_t Output)
> {
> if (Pid) {
> CHECK(ioctl(fd, DMX_STOP)); # this is line 2090
> dmxPesFilterParams pesFilterParams;
Look at today's CVS driver. There's a change in DVB/driver/dmxdev.c:
@@ -391,8 +391,11 @@
dprintk ("function : %s\n", __FUNCTION__);
+ /* We used to return EINVAL here but resetting a free filter
+ should be valid too. But since in this case there is nothing
+ to do, just return */
if (dmxdevfilter->state<DMXDEV_STATE_ALLOCATED)
- return -EINVAL;
+ return 0;
switch (dmxdevfilter->type) {
case DMXDEV_TYPE_SEC:
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index