I created a patch which allows the user to set the percentage full the cache reaches before playback. Default is set to the current hardcoded value (5% / 20%). I haven't sent it upstream yet.
Created attachment 34688 [details, diff] mplayer-cacheprefill_option.patch Alters example.conf to show usage. I also increased the maximum cache size to 256M from 64M. The default is for the prefill value to be a percentage (20% initial / 5% on restart) of the cache size, but when you increase to larger caches for better network streaming, the fill time increases proportionally... and at 256M the 20% becomes unreasonable.
ferringb: I tested it over here, works ok on my side as well. Sent it upstream too.
Created attachment 34695 [details, diff] updated patch options use - instead of _ max is now 99 to fix bug with 100
Created attachment 34703 [details, diff] updated to fix an mplayer cache fill bug also Alright, I've worked with the upstream devs, and this adds the feature as well as fixes the predicate on the initial fill... they should be having it in the next release, so feel free to mark this UPSTREAM if you're too busy to add it in
Created attachment 35984 [details, diff] some runtime optimizations forgot to attach the final patch... this is the one I finally worked out with upstream input... has some optimizations over the previous one...
Currently InCVS as of yesterday for 1.0_pre4-r5 and 1.0_pre5-r1