summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-06-27 13:07:05 +0200
committerFrank Schmirler <vdr@schmirler.de>2011-06-27 13:07:05 +0200
commit673fbae2e258102c7bd2a7bee554f75eae0e332b (patch)
treefbf1af5b05d05f6e5845c041774b25bbb9f5ae43 /common.h
parentf73665a0bd13519591c8acb451c0b884929547e5 (diff)
downloadvdr-plugin-streamdev-673fbae2e258102c7bd2a7bee554f75eae0e332b.tar.gz
vdr-plugin-streamdev-673fbae2e258102c7bd2a7bee554f75eae0e332b.tar.bz2
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.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 4 insertions, 0 deletions
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)