From 5f5dfd7f69963abcdcceed88e649c83e6ea5709e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Aug 2003 18:00:00 +0200 Subject: =?UTF-8?q?Version=201.2.3=20(not=20officially=20released)=20-=20F?= =?UTF-8?q?ixed=20the=20TS=20to=20PES=20repacker=20so=20that=20it=20works?= =?UTF-8?q?=20with=20MPEG1=20streams=20(thanks=20to=20=20=20Andreas=20Kool?= =?UTF-8?q?).=20-=20Fixed=20keeping=20track=20of=20the=20current=20channel?= =?UTF-8?q?=20number=20when=20moving=20channels=20in=20=20=20the=20"Channe?= =?UTF-8?q?ls"=20menu=20(thanks=20to=20Mirko=20G=C3=BCnther=20for=20report?= =?UTF-8?q?ing=20this=20one).=20-=20Made=20the=20plugin=20library=20direct?= =?UTF-8?q?ory=20configurable=20via=20Make.config=20(thanks=20to=20=20=20L?= =?UTF-8?q?udwig=20Nussel).=20-=20Fixed=20scaling=20SPU=20bitmaps=20in=20L?= =?UTF-8?q?etterbox=20mode=20when=20playing=20NTSC=20material.=20=20=20In?= =?UTF-8?q?=20order=20to=20do=20this,=20the=20cDevice=20was=20given=20a=20?= =?UTF-8?q?new=20member=20function=20GetVideoSystem().=20-=20Fixed=20two?= =?UTF-8?q?=20warnings=20when=20compiling=20with=20gcc=203.3.1=20(thanks?= =?UTF-8?q?=20to=20Alfred=20Zastrow=20for=20=20=20reporting=20this).=20-?= =?UTF-8?q?=20Made=20crc32()=20a=20static=20function=20in=20libdtv/libsi/s?= =?UTF-8?q?i=5Fparser.c=20to=20avoid=20a=20name=20clash=20=20=20when=20usi?= =?UTF-8?q?ng=20other=20libraries=20that=20also=20implement=20a=20function?= =?UTF-8?q?=20by=20that=20name=20(thanks=20=20=20to=20Reinhard=20Nissl=20f?= =?UTF-8?q?or=20reporting=20this=20one).=20-=20Fixed=20staying=20off=20the?= =?UTF-8?q?=20end=20of=20an=20ongoing=20recording=20while=20replaying=20in?= =?UTF-8?q?=20time=20shift=20=20=20mode=20(thanks=20to=20Rainer=20Zocholl?= =?UTF-8?q?=20for=20reporting=20this=20one).=20-=20VDR=20now=20stops=20wit?= =?UTF-8?q?h=20exit=20status=202=20if=20one=20of=20the=20configuration=20f?= =?UTF-8?q?iles=20can't=20be=20=20=20read=20correctly=20at=20program=20sta?= =?UTF-8?q?rtup=20(suggested=20by=20Rainer=20Zocholl).=20-=20Fixed=20a=20c?= =?UTF-8?q?rash=20when=20starting=20"Pause=20live=20video"=20twice=20withi?= =?UTF-8?q?n=20the=20same=20minute=20on=20=20=20the=20same=20channel.=20-?= =?UTF-8?q?=20Fixed=20freezing=20replay=20if=20a=20timer=20starts=20while?= =?UTF-8?q?=20in=20Transfer=20Mode=20from=20the=20device=20=20=20used=20by?= =?UTF-8?q?=20the=20timer,=20and=20the=20timer=20needs=20a=20different=20t?= =?UTF-8?q?ransponder=20(thanks=20to=20=20=20Richard=20Robson=20for=20repo?= =?UTF-8?q?rting=20this=20one).=20-=20Fixed=20toggling=20channels=20with?= =?UTF-8?q?=20the=20'0'=20key=20(thanks=20to=20Mirko=20G=C3=BCnther=20for?= =?UTF-8?q?=20reporting=20=20=20this=20one).=20-=20Made=20the=20"Zap=20tim?= =?UTF-8?q?eout"=20(the=20time=20until=20a=20channel=20counts=20as=20"prev?= =?UTF-8?q?ious"=20for=20=20=20switching=20with=20'0')=20a=20setup=20varia?= =?UTF-8?q?ble,=20available=20in=20"Setup/Miscellaneous"=20=20=20(suggeste?= =?UTF-8?q?d=20by=20Helmut=20Auer).=20-=20Removing=20deleted=20recordings?= =?UTF-8?q?=20faster=20than=20normal=20when=20cutting,=20to=20avoid=20runn?= =?UTF-8?q?ing=20=20=20out=20of=20disk=20space=20(thanks=20to=20Manfred=20?= =?UTF-8?q?Schmidt-Voigt=20for=20reporting=20this=20one).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- remux.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'remux.c') diff --git a/remux.c b/remux.c index c2ded24..6dc37e1 100644 --- a/remux.c +++ b/remux.c @@ -8,7 +8,7 @@ * the Linux DVB driver's 'tuxplayer' example and were rewritten to suit * VDR's needs. * - * $Id: remux.c 1.15 2003/04/26 15:07:41 kls Exp $ + * $Id: remux.c 1.16 2003/08/06 14:44:03 kls Exp $ */ /* The calling interface of the 'cRemux::Process()' function is defined @@ -321,7 +321,6 @@ void cTS2PES::instant_repack(const uint8_t *Buf, int Count) if ((flag1 & 0xC0) == 0x80 ) mpeg = 2; else { - esyslog("ERROR: error in data stream!"); hlength = 0; which = 0; mpeg = 1; @@ -361,6 +360,9 @@ void cTS2PES::instant_repack(const uint8_t *Buf, int Count) write_ipack(&hlength, 1); } + if (mpeg == 1 && found == 7) + write_ipack(&flag1, 1); + if (mpeg == 2 && (flag2 & PTS_ONLY) && found < 14) { while (c < Count && found < 14) { write_ipack(Buf + c, 1); -- cgit v1.2.3