diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-06-17 15:19:28 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-06-17 15:19:28 +0200 |
commit | 706b18cb7cab02a5e6fbb2fb538b0aba1b5ec66c (patch) | |
tree | d5f97c0db02c76f21c2e8e2a176d250dc6ea8d26 /dvbapi.c | |
parent | 5b41d2110736c815365ccb667f2a2332d61a375a (diff) | |
download | vdr-706b18cb7cab02a5e6fbb2fb538b0aba1b5ec66c.tar.gz vdr-706b18cb7cab02a5e6fbb2fb538b0aba1b5ec66c.tar.bz2 |
Avoiding error message when setting PIDs
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.78 2001/06/16 14:38:07 kls Exp $ + * $Id: dvbapi.c 1.79 2001/06/17 15:18:11 kls Exp $ */ #include "dvbapi.h" @@ -2048,7 +2048,7 @@ bool cDvbApi::SetPid(int fd, dmxPesType_t PesType, dvb_pid_t Pid, dmxOutput_t Ou pesFilterParams.pesType = PesType; pesFilterParams.flags = DMX_IMMEDIATE_START; if (ioctl(fd, DMX_SET_PES_FILTER, &pesFilterParams) < 0) { - if (Pid != 0x1FFF) + if (Pid != 0 && Pid != 0x1FFF) LOG_ERROR; return false; } |