From 8ad7803a4674e68761ab59db7751ad3ed3bd1126 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Sep 2008 13:46:13 +0200 Subject: [PATCH] Added a note about 'Id' being obsolete to the description of cDevice::PlayAudio() --- HISTORY | 4 ++++ config.h | 6 +++--- device.h | 5 ++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/HISTORY b/HISTORY index 0994e1b0..5c32b4cf 100644 --- a/HISTORY +++ b/HISTORY @@ -5831,3 +5831,7 @@ Video Disk Recorder Revision History - Fixed wrong value for TableIdBAT in libsi/si.h (thanks to Winfried Köhler). - Removed unneeded include files und from remux.h (reported by Tobias Grimm). + +2008-09-14: Version 1.7.2 + +- Added a note about 'Id' being obsolete to the description of cDevice::PlayAudio(). diff --git a/config.h b/config.h index 12a4e12c..8b672ff1 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 2.3 2008/09/06 14:06:56 kls Exp $ + * $Id: config.h 2.4 2008/09/14 13:46:13 kls Exp $ */ #ifndef __CONFIG_H @@ -22,8 +22,8 @@ // VDR's own version number: -#define VDRVERSION "1.7.1" -#define VDRVERSNUM 10701 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.7.2" +#define VDRVERSNUM 10702 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: diff --git a/device.h b/device.h index 8924aa92..2ce658c0 100644 --- a/device.h +++ b/device.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 2.2 2008/07/06 11:25:42 kls Exp $ + * $Id: device.h 2.3 2008/09/14 13:44:54 kls Exp $ */ #ifndef __DEVICE_H @@ -494,6 +494,9 @@ protected: ///< Plays the given data block as audio. ///< Data points to exactly one complete PES packet of the given Length. ///< Id indicates the type of audio data this packet holds. + ///< Note that as of version 1.7.1 Id is obsolete and may be 0 (in case of + ///< TS replay). Plugins that need to know this Id shall read it from the + ///< actual PES data (it's the 4th byte). ///< PlayAudio() shall process the packet either as a whole (returning ///< Length) or not at all (returning 0 or -1 and setting 'errno' to EAGAIN). ///< \return Returns the number of bytes actually taken from Data, or -1