Mercurial > mplayer.hg
view .gitignore @ 33644:c15dabfa2380
Do a proper calculation of free RAM to be used as V4L buffers.
The code uses sysinfo to query the available RAM, however it used
ancient form available is some early development 2.3.x kernels.
Newer form reports the size in memory units (usually same as page size),
as result the code would fallback to 2 buffers even on multi GB system.
The commit does: Improve the check in configure to ensure that we
do use sysinfo struct with present mem_unit. Use free ram instead of
total ram (to avoid swapping). Tweak memory constants and simplify code.
author | iive |
---|---|
date | Sun, 26 Jun 2011 14:42:35 +0000 |
parents | 5660f163ea79 |
children | f2b81cd25817 |
line wrap: on
line source
*.[od] *.exe *.ho codec-cfg codec-cfg-test codecs2html codecs.conf.h config.* cpuinfo gmplayer help_mp.h mencoder mplayer tags TAGS version.h debian/changelog debian/*.debhelper.log DOCS/codecs-status.html DOCS/HTML/ DOCS/HTML-single/ DOCS/tech/doxygen DOCS/xml/html-chunk.xsl DOCS/xml/html-single.xsl DOCS/xml/xml.mak DOCS/xml/*/main.xml drivers/mga_vid_test drivers/tdfx_vid_test ffmpeg/ libdvdnav/ libdvdread4/ libvo/aspecttest loader/qtx/list loader/qtx/qtxload mp3lib/test mp3lib/test2 TOOLS/alaw-gen TOOLS/alaw.dat TOOLS/alaw.out TOOLS/asfinfo TOOLS/avi-fix TOOLS/avisubdump TOOLS/bmovl-test TOOLS/compare TOOLS/cpuinfo TOOLS/dump_mp4 TOOLS/fastmemcpybench TOOLS/modify_reg TOOLS/movinfo TOOLS/netstream TOOLS/subrip TOOLS/vivodump vidix/pci_*.[ch] vidix/dhahelperwin/dhahelper.sys