From 673fbae2e258102c7bd2a7bee554f75eae0e332b Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 27 Jun 2011 13:07:05 +0200 Subject: analog video channels use the same transponder and pid for different channels, so streamdev-client must always issue TUNE command. Thanks to Martin Dauskardt for providing the technical background related to pvrinput. --- common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 12025f5..4d29d5e 100644 --- a/common.h +++ b/common.h @@ -23,7 +23,11 @@ # define Dprintf(x...) #endif +#if APIVERSNUM >= 10714 +#define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder() && !c1->IsSourceType('V')) +#else #define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder()) +#endif #define MAXPARSEBUFFER KILOBYTE(16) -- cgit v1.2.3