From 17b4709c30a54aaa301591009eb89a4f28bb9fc5 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Wed, 6 Aug 2008 08:05:52 +0000 Subject: [PATCH] Tweaked pid scanner parameters for HD broadcasts. --- HISTORY | 4 ++++ pidscanner.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/HISTORY b/HISTORY index 49cf4af..fdb7d4b 100644 --- a/HISTORY +++ b/HISTORY @@ -63,3 +63,7 @@ VDR Plugin 'iptv' Revision History - Updated vlc2iptv script for new channels.conf format. - Added pluginparam patch for vdr-1.7.0. - Added new example scripts from VDR-WIKI. + +2008-xx-xx: Version 0.2.2 + +- Tweaked pid scanner parameters for HD broadcasts. diff --git a/pidscanner.c b/pidscanner.c index a56265b..03d3bc4 100644 --- a/pidscanner.c +++ b/pidscanner.c @@ -3,16 +3,16 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: pidscanner.c,v 1.7 2008/04/02 22:55:04 rahrenbe Exp $ + * $Id: pidscanner.c,v 1.8 2008/08/06 08:05:52 rahrenbe Exp $ */ #include "common.h" #include "pidscanner.h" #define PIDSCANNER_TIMEOUT_IN_MS 15000 /* 15s timeout for detection */ -#define PIDSCANNER_APID_COUNT 10 /* minimum count of audio pid samples for pid detection */ -#define PIDSCANNER_VPID_COUNT 10 /* minimum count of video pid samples for pid detection */ -#define PIDSCANNER_PID_DELTA_COUNT 50 /* minimum count of pid samples for audio/video only pid detection */ +#define PIDSCANNER_APID_COUNT 5 /* minimum count of audio pid samples for pid detection */ +#define PIDSCANNER_VPID_COUNT 5 /* minimum count of video pid samples for pid detection */ +#define PIDSCANNER_PID_DELTA_COUNT 100 /* minimum count of pid samples for audio/video only pid detection */ cPidScanner::cPidScanner(void) : timeout(0),