[MPlayer-dev-eng] Cache trouble with MacOSX / Darwin
Chris Zubrzycki
beren at mac.com
Sat Jan 10 19:56:31 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Dec 23, 2003, at 10:17 AM, Romain Dolbeau wrote:
> Hello,
>
> I've found a problem with the mplayer cache (option -cache) on MacOSX.
> Enabling the cache would cause a lock-up, which is a serious problem
> with my slow laptop hard-drive.
>
> I've tracked down the problem to the "usec_sleep()" calls in
> "libmpdemux/cache2.c". It seems that the mach-specific implementation
> of
> "usec_sleep()" in "osdep/timer-darwin.c" is the culprit : replacing the
> whole code by good old "usleep()" solve the problem for me.
>
> The funny thing is I can't see anything wrong with the code...
>
> Is there anyone proficient on the subject before I submit a patch to
> replace "usec_sleep()" ?
have you found anything more out w/this? I have gui problems, ie.
gmplayer& keeps freezing in the usec_sleep, but only if I don't spec a
movie to open on the commandline...like gmplayer ~/movie.mpg
- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3 1688 FBF9 8232 A2AB C070
========================================================
"Of course, you realize this means war."
- -B. Bunny
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFAAErj+/mCMqKrwHARAomXAJ9/69KizUG5LPRTRnOG7nce8kQ0WQCcDv1s
+hqW3+r3bNhnJ6fVSGA0Hz4=
=ODqZ
-----END PGP SIGNATURE-----
More information about the MPlayer-dev-eng
mailing list