在 QTMovie 上调用播放会导致 Snow Leopard 上的屏幕保护程序停用

发布于 2024-08-28 10:11:29 字数 284 浏览 4 评论 0原文

我正在尝试将可用的 Leopard 屏幕保护程序移植到 Snow Leopard,但它在大约半秒后停用。在 QTMovie 上调用播放时,屏幕保护程序似乎会停用。它会在 QTMovie 对象本身上的 -play 和 QTMovieView 上的 -play:self 上停用。

如果我实际上没有对对象调用 -play ,则屏幕保护程序不会停用并静止在电影的第一帧上。

在常规 Cocoa 应用程序中设置相同的代码可以正常工作,并且屏幕保护程序在系统偏好设置中的预览模式下也可以正常工作。

非常感谢任何帮助。

I'm trying to port a working Leopard screensaver to Snow Leopard but it's deactivating after about half a second. The screensaver seems to deactivate upon invoking play on a QTMovie. And it deactivates both upon -play on the QTMovie object itself, and -play:self on the QTMovieView.

If I don't actually call -play on the object, the screensaver does not deactivate and sits still on the first frame of the movie.

Setting up the same code in a regular Cocoa Application works fine, and the screensaver also works fine in preview mode in the System Preferences.

Any help is greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

耳根太软 2024-09-04 10:11:29

在提交错误报告后,我得到的答案是这是一个已知的错误。

After filing a bug report I got the answer that this is a known bug.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文