From 06bf4c453e22a9bf03f5ec46f7b45593e2cb326c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 23 Aug 2009 16:04:00 +0200 Subject: Version 1.7.9 - Fixed storing the current OSD size in case the device has changed it in its setup menu (reported by Reinhard Nissl). - Fixed cDevice::PlayTsVideo() and cDevice::PlayTsAudio() in case only part of the buffer has been accepted by the device (reported by Udo Richter). - Changed the EIT filter setup to save a few handles on devices that do hardware filtering. - Fixed deleting expired timers if they have the VPS flag set, but the event they are assigned to doesn't have a VPS tag. - Fixed handling file name length on VFAT systems in case they contain UTF-8 characters (thanks to Rolf Ahrenberg). - Fixed generating CaPmts in case audio and video are encrypted using different ECM pids. - Updated vdr.1 to use the new file names in recording directories. - Fixed cRecordings::DelByName() to avoid compilation errors with gcc 4.4 (thanks to Matthias Schwarzott). - Increased the value of MAXFRAMESIZE to better suit HD recordings (thanks to Reinhard Nissl). - Implemented full handling of subtitling descriptors (thanks to Mikko Tuumanen). --- device.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'device.c') diff --git a/device.c b/device.c index 834b6ea..5b9b514 100644 --- a/device.c +++ b/device.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 2.23 2009/06/06 13:25:58 kls Exp $ + * $Id: device.c 2.25 2009/08/16 10:54:36 kls Exp $ */ #include "device.h" @@ -1293,8 +1293,10 @@ int cDevice::PlayTsVideo(const uchar *Data, int Length) int l; while (const uchar *p = tsToPesVideo.GetPes(l)) { int w = PlayVideo(p, l); - if (w <= 0) + if (w <= 0) { + tsToPesVideo.SetRepeatLast(); return w; + } } tsToPesVideo.Reset(); } @@ -1308,8 +1310,10 @@ int cDevice::PlayTsAudio(const uchar *Data, int Length) int l; if (const uchar *p = tsToPesAudio.GetPes(l)) { int w = PlayAudio(p, l, 0); - if (w <= 0) + if (w <= 0) { + tsToPesAudio.SetRepeatLast(); return w; + } tsToPesAudio.Reset(); } tsToPesAudio.PutTs(Data, Length); -- cgit v1.2.3