[FFmpeg-devel] [PATCH] Speed up wtv index creation

popcorn mix popcornmix at gmail.com
Fri Jan 29 22:36:30 CET 2016


The index creation is O(N^2) with number of entries (typically thousands).
On a Raspberry Pi this can take more than 60 seconds to execute for a recording of a few hours.
    
By replacing with an O(N) loop, this takes virtually zero time

This patch has been in all Pi builds of Kodi for the last couple of years,
so it is quite widely tested. No change in FATE output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wtv-Speed-up-wtv-index-creation.patch
Type: text/x-patch
Size: 2235 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160129/ba7adedc/attachment.bin>


More information about the ffmpeg-devel mailing list