[MPlayer-dev-eng] [PATCH] cache fill adjustment
Ivan Kalvachev
ivan at cacad.com
Sat Jul 3 10:33:20 CEST 2004
Hi,
I have took an quick look of the patch.
I think that we need that functionality :)
I have just few questions/recommendations:
1. Have you tested cache behaviour with persentage for one or both of the new
parameters? I'm going to test it myself (still compiling)
2. Have you intensionally left libmpdemux/network.c:1345 unchanged? 3. I think
it would be better if you place the new variables in
cache2.c - I know that stream_cache_size is defined in mplayer.c and mencoder.c
but I think that it shuold also be moved.
Wish You Best
Ivan Kalvachev
iive
Chris White said:
> Patch created by: Jeremy Huddleston
>
> [Description]
>
> "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%)"
>
> "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."
>
> [Altered Files]
>
> -example.conf to show usage.
> -cfg-common.h to adjust stream options
> -libmpdemux/cache2.c adjusts internal cache handling
> -libmpdemux/demuxer.c adjust demux handling with caching enabled -mencoder.c
adjusts mencoder's stream handling
> -mplayer.c adjusts mplayer's core streaming options
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
More information about the MPlayer-dev-eng
mailing list