Hi, the attached patch speeds up ScanVideoPacket() in two ways: - finding the start code is done by memchr(), which was the major change for the cVideoRepacker speedup patches some VDR versions ago. - ScanVideoPacket() may skip scanning the packets most of the time when cVideoRepacker is enabled (see source comments for details). As a result, the CPU load of my EPIA system with a 600 MHz CPU drops from 27 % to 17 % for receiving the 'ASTRA HD' HDTV demo channel. Besides the mentioned improvements, I've declared ScanVideoPacket() and GetPacketLength() static and pubic, as I'd like to use their functionality in future versions of vdr-xine. Bye. -- Dipl.-Inform. (FH) Reinhard Nissl mailto:rnissl@xxxxxx -------------- next part -------------- A non-text attachment was scrubbed... Name: vdr-1.3.44-remux.patch Type: text/x-patch Size: 3465 bytes Desc: not available Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060319/b2d5ac55/vdr-1.3.44-remux-0001.bin