summaryrefslogtreecommitdiff
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
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.
-rw-r--r--HISTORY2
-rw-r--r--common.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index ed3f5e0..25955c6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- analog video channels use the same transponder and pid for different
+ channels, so streamdev-client must always issue TUNE command
- server must close the VTP connection also if filter stream is broken
- fixed missing #ifdefs for new NumProvidedSystems setup option
- new externremux.sh mencoder config options: audio pid by language code
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)