From 673fbae2e258102c7bd2a7bee554f75eae0e332b Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 27 Jun 2011 13:07:05 +0200 Subject: [PATCH] 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. --- HISTORY | 2 ++ common.h | 4 ++++ 2 files changed, 6 insertions(+) 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)