From 4c5de2888331fb4372eba0b0f4364fd9a0197b17 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 7 Aug 2005 18:00:00 +0200 Subject: =?UTF-8?q?Version=201.3.28=20-=20Added=20a=20sleep=20in=20cDvbPla?= =?UTF-8?q?yer::Action()=20in=20case=20there=20is=20no=20data=20to=20send?= =?UTF-8?q?=20to=20the=20=20=20device,=20which=20avoids=20a=20busy=20loop?= =?UTF-8?q?=20on=20very=20fast=20machines=20(thanks=20to=20Martin=20Wache)?= =?UTF-8?q?.=20-=20Modified=20the=20description=20of=20cDevice::Poll()=20t?= =?UTF-8?q?o=20avoid=20misunderstandings.=20-=20Updated=20Croatian=20langu?= =?UTF-8?q?age=20texts=20(thanks=20to=20Drazen=20Dupor).=20-=20cDvbPlayer:?= =?UTF-8?q?:Goto()=20now=20appends=20a=20Sequence=20End=20Code=20to=20get?= =?UTF-8?q?=20the=20image=20shown=20=20=20immediately=20with=20softdevices?= =?UTF-8?q?=20(thanks=20to=20Reinhard=20Nissl).=20-=20Reactivated=20cVideo?= =?UTF-8?q?Repacker=20in=20remux.c=20after=20some=20fixes=20(thanks=20to?= =?UTF-8?q?=20Reinhard=20Nissl).=20-=20Removed=20the=20fix=20for=20handlin?= =?UTF-8?q?g=20VPS=20timers,=20so=20that=20they=20only=20record=20if=20the?= =?UTF-8?q?=20event=20=20=20they=20are=20assigned=20to=20actually=20has=20?= =?UTF-8?q?the=20given=20VPS=20time.=20This=20has=20caused=20repeating=20?= =?UTF-8?q?=20=20VPS=20timers=20to=20stop=20recording=20prematurely.=20-?= =?UTF-8?q?=20Avoiding=20duplicate=20components=20in=20EPG=20events=20when?= =?UTF-8?q?=20reading=20epg.data=20or=20in=20the=20=20=20PUTE=20SVDRP=20co?= =?UTF-8?q?mmand=20(thanks=20to=20Olaf=20Titz=20for=20reporting=20this=20o?= =?UTF-8?q?ne).=20-=20Added=20the=20command=20line=20options=20'--lirc',?= =?UTF-8?q?=20'--rcu'=20and=20'--no-kbd'=20to=20allow=20setting=20=20=20th?= =?UTF-8?q?e=20remote=20control=20at=20runtime=20(based=20on=20a=20patch?= =?UTF-8?q?=20by=20Darren=20Salt).=20-=20Now=20checking=20whether=20timers?= =?UTF-8?q?=20or=20channels=20are=20currently=20being=20edited=20via=20the?= =?UTF-8?q?=20menu=20=20=20before=20making=20changes=20through=20SVDRP=20(?= =?UTF-8?q?thanks=20to=20Andreas=20Brugger=20for=20reporting=20a=20=20=20p?= =?UTF-8?q?roblem=20with=20this).=20-=20Files=20and=20directories=20are=20?= =?UTF-8?q?now=20created=20with=20rights=20according=20to=20the=20shell's?= =?UTF-8?q?=20=20=20umask=20settings=20(thanks=20to=20Andreas=20Brachold).?= =?UTF-8?q?=20-=20Fixed=20the=20cChannel=20copy=20constructor=20(thanks=20?= =?UTF-8?q?to=20Marcel=20Wiesweg=20for=20pointing=20out=20=20=20a=20proble?= =?UTF-8?q?m=20with=20it).=20-=20Fixed=20an=20out-of-bounds=20memory=20acc?= =?UTF-8?q?ess=20with=20audio=20language=20ids=20(thanks=20to=20=20=20Matt?= =?UTF-8?q?hias=20Lenk=20for=20reporting,=20and=20Udo=20Richter=20for=20su?= =?UTF-8?q?ggesting=20a=20fix).=20-=20Updated=20the=20Finnish=20OSD=20text?= =?UTF-8?q?s=20(thanks=20to=20Rolf=20Ahrenberg).=20-=20Added=20missing=20s?= =?UTF-8?q?toring=20of=20the=20MenuScrollPage=20parameter=20(thanks=20to?= =?UTF-8?q?=20Frank=20Kr=C3=B6mmelbein).=20-=20Added=20cRemux::SetTimeouts?= =?UTF-8?q?()=20for=20better=20use=20of=20cRemux=20in=20a=20single=20threa?= =?UTF-8?q?d=20(thanks=20=20=20to=20Udo=20Richter=20for=20reporting=20a=20?= =?UTF-8?q?problem=20with=20this).=20-=20Modified=20cEITScanner::Process()?= =?UTF-8?q?=20so=20that=20it=20uses=20the=20primary=20device=20if=20it=20i?= =?UTF-8?q?s=20=20=20replaying=20and=20is=20the=20only=20device=20that=20p?= =?UTF-8?q?rovides=20the=20given=20transponder,=20and=20that=20=20=20a=20f?= =?UTF-8?q?orced=20EPG=20scan=20works=20even=20if=20EPG=20scan=20timeout?= =?UTF-8?q?=20is=20set=20to=200=20(thanks=20to=20=20=20Bernhard=20Stegmaie?= =?UTF-8?q?r=20for=20reporting=20a=20problem=20with=20this).=20-=20Fixed?= =?UTF-8?q?=20cDvbSpuBitmap::putPixel()=20(thanks=20to=20Reinhard=20Nissl)?= =?UTF-8?q?.=20-=20Fixed=20setting=20system=20time=20to=20avoid=20time=20j?= =?UTF-8?q?umps=20in=20case=20of=20faulty=20data=20(thanks=20=20=20to=20An?= =?UTF-8?q?dreas=20B=C3=B6ttger).=20-=20Fixed=20a=20memory=20leak=20in=20t?= =?UTF-8?q?he=20SVDRP=20command=20LSTE=20(thanks=20to=20Stefan=20Huelswitt?= =?UTF-8?q?).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- recording.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 462b160..081f9e6 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.109 2005/06/05 14:11:45 kls Exp $ + * $Id: recording.c 1.110 2005/08/06 09:53:21 kls Exp $ */ #include "recording.h" @@ -199,7 +199,7 @@ int cResumeFile::Read(void) bool cResumeFile::Save(int Index) { if (fileName) { - int f = open(fileName, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); + int f = open(fileName, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); if (f >= 0) { if (safe_write(f, &Index, sizeof(Index)) < 0) LOG_ERROR_STR(fileName); @@ -974,7 +974,7 @@ cIndexFile::cIndexFile(const char *FileName, bool Record) else if (!Record) isyslog("missing index file %s", fileName); if (Record) { - if ((f = open(fileName, O_WRONLY | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) >= 0) { + if ((f = open(fileName, O_WRONLY | O_CREAT | O_APPEND, DEFFILEMODE)) >= 0) { if (delta) { esyslog("ERROR: padding index file with %d '0' bytes", delta); while (delta--) -- cgit v1.2.3