mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed clearing PIDs
This commit is contained in:
parent
d9bf48ec5a
commit
fd3cc6f997
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbdevice.c 1.15 2002/09/14 12:14:38 kls Exp $
|
* $Id: dvbdevice.c 1.16 2002/09/14 13:26:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -321,9 +321,9 @@ bool cDvbDevice::SetPid(cPidHandle *Handle, int Type, bool On)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else if (!Handle->used) {
|
||||||
CHECK(ioctl(Handle->handle, DMX_STOP));
|
CHECK(ioctl(Handle->handle, DMX_STOP));
|
||||||
if (Handle->used == 0 && Type <= ptTeletext) {
|
if (Type <= ptTeletext) {
|
||||||
pesFilterParams.pid = 0x1FFF;
|
pesFilterParams.pid = 0x1FFF;
|
||||||
pesFilterParams.input = DMX_IN_FRONTEND;
|
pesFilterParams.input = DMX_IN_FRONTEND;
|
||||||
pesFilterParams.output = DMX_OUT_DECODER;
|
pesFilterParams.output = DMX_OUT_DECODER;
|
||||||
|
Loading…
Reference in New Issue
Block a user