diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-22 10:22:49 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-22 10:22:49 +0000 |
commit | 88c475968f50f76fdafe323f1cf349aafd03aa47 (patch) | |
tree | e51b9427b5d1beef50b40bfa2ce8d08e4534d723 /DOCS/documentation.html | |
parent | ae320b78bf2071749b3cd26fc08d4d048a5f3a3c (diff) | |
download | mpv-88c475968f50f76fdafe323f1cf349aafd03aa47.tar.bz2 mpv-88c475968f50f76fdafe323f1cf349aafd03aa47.tar.xz |
timer routines section slightly reformatted
added note about buggy RTC in some cases
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6501 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/documentation.html')
-rw-r--r-- | DOCS/documentation.html | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/DOCS/documentation.html b/DOCS/documentation.html index 63b0626a25..c452817184 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -648,16 +648,25 @@ see the <A HREF="encoding.html#2.4">MEncoder section</A> .</LI> <LI>If you have a V4L compatible <B>TV tuner</B> card, and wish to watch/grab and encode movies with <B>MPlayer</B>, read the <A HREF="#2.5">TV input</A> section.</LI> -<LI>There are three timing methods in <B>MPlayer</B>. To use the old -method, you don't have to do anything. It uses <CODE>usleep()</CODE> to tune -A/V sync, with +/- 10ms accuracy. However sometimes the sync has to be tuned -even finer. The new timer code uses PC's RTC (Real Time Clock) for this task, +<LI>There are three timing methods in <B>MPlayer</B>.<BR> +<BR> +<B>To use the old method</B>, you don't have to do anything. It uses +<CODE>usleep()</CODE> to tune A/V sync, with +/- 10ms accuracy. However +sometimes the sync has to be tuned even finer.<BR> +<BR> +<B>The new timer</B> code uses PC's RTC (Real Time Clock) for this task, because it has precise 1ms timers. This requires root, or a <I>setuid root</I> <B>MPlayer</B> binary (or a little kernel hacking, but that's unadvised). You -can see the new timer's efficiency in the status line. The third timer -code is turned on with the <CODE>-softsleep</CODE> option. It has the -efficiency of the RTC, but it doesn't use RTC. On the other hand, -it requires more CPU. Note: <B>NEVER install setuid MPlayer binary on a +can see the new timer's efficiency in the status line. In some hardware +combinations (confirmed during usage of non-DMA DVD drive on an ALi1541 board) +usage of the RTC timer causes skippy playback. It's recommended to use the +following method in these cases.<BR> +<BR> +<B>The third timer code</B> is turned on with the <CODE>-softsleep</CODE> +option. It has the efficiency of the RTC, but it doesn't use RTC. On the other +hand, it requires more CPU.<BR> +<BR> +Note: <B>NEVER install setuid MPlayer binary on a multiuser system!</B> It's a clear way for everyone to gain root.</LI> </UL> |