From d9e56db9fca760da1f2dc29288f0b55b2d67ec6f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 15 Aug 2008 14:49:34 +0200 Subject: First step towards switching to TS (Transport Stream) as recording format --- player.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'player.h') diff --git a/player.h b/player.h index 47a4e3d5..7279102c 100644 --- a/player.h +++ b/player.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: player.h 1.21 2008/02/16 13:50:11 kls Exp $ + * $Id: player.h 2.1 2008/08/15 14:07:48 kls Exp $ */ #ifndef __PLAYER_H @@ -42,6 +42,10 @@ protected: // Sends the given PES Data to the device and returns the number of // bytes that have actually been accepted by the device (or a // negative value in case of an error). + int PlayTs(const uchar *Data, int Length, bool VideoOnly = false) { return device ? device->PlayTs(Data, Length, VideoOnly) : -1; } + // Sends the given TS packet to the device and returns a positive number + // if the packet has been accepted by the device, or a negative value in + // case of an error. public: cPlayer(ePlayMode PlayMode = pmAudioVideo); virtual ~cPlayer(); -- cgit v1.2.3