From 21c8829783f7f4d6b7bc13bc405196182910c3e6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 25 Dec 2013 13:12:07 +0100 Subject: [PATCH] Made it clear that the Data parameter in cDevice::StillPicture() may point to a series of packets, not just a single one --- CONTRIBUTORS | 4 ++++ HISTORY | 2 ++ device.h | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index be72ac80..0f7ebe4b 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3221,3 +3221,7 @@ Harald Koenig Guido Cordaro for adding maximum signal strength value for TechniSat SkyStar 2 DVB-S rev 2.3P + +Thomas Reufer + for making it clear that the Data parameter in cDevice::StillPicture() may point to a + series of packets, not just a single one diff --git a/HISTORY b/HISTORY index 6adbc91e..2bfb1f10 100644 --- a/HISTORY +++ b/HISTORY @@ -8076,3 +8076,5 @@ Video Disk Recorder Revision History caller to have it display only a certain subset of the recordings (thanks to Lars Hanisch). - Added handling UTF-8 'umlaut' characters to cKbdRemote (thanks to Lars Hanisch). +- Made it clear that the Data parameter in cDevice::StillPicture() may point to a + series of packets, not just a single one (thanks to Thomas Reufer). diff --git a/device.h b/device.h index a9e88329..16aa59df 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 3.3 2013/10/10 13:23:30 kls Exp $ + * $Id: device.h 3.4 2013/12/25 13:08:44 kls Exp $ */ #ifndef __DEVICE_H @@ -723,7 +723,7 @@ public: ///< all registered cAudio objects are notified. virtual void StillPicture(const uchar *Data, int Length); ///< Displays the given I-frame as a still picture. - ///< Data points either to TS (first byte is 0x47) or PES (first byte + ///< Data points either to a series of TS (first byte is 0x47) or PES (first byte ///< is 0x00) data of the given Length. The default implementation ///< converts TS to PES and calls itself again, allowing a derived class ///< to display PES if it can't handle TS directly.