如果播放器被处置并重新创建,OpenNETCF DirectShowPlayerControl 显示在播放视频时会随机变黑

发布于 2024-09-02 20:00:23 字数 276 浏览 0 评论 0原文

我有一个在 WinCE 3.5 操作系统的触摸设备上运行的应用程序。 用于在系统闲置一段配置的时间后显示添加内容。

因此,每次启动显示播放器时都会启动 DirectShowPlayerControl,并在关闭时被销毁...

我有一个显示播放器控件, 第一次连续播放视频任意时间。一旦播放器被破坏并重新创建,视频就会发生变化,但如果放置一些单独显示的小视频,则显示会变黑,并且在两者之间。

每当窗体关闭时,我都会调用 DirectShowPlayerControl.Dispose() 方法。

I have a application that runs on touch enabled device with WinCE 3.5 OS. I have a show player control to display adds when the system is left idle for some configured amount of time..

So the DirectShowPlayerControl will be iniated every time the show player is launched and will be destroyed when it is closed...

The player for the first time plays videos continuously for any amount of time. Once the player is destroyed and recreated the video are changing but the display goes black and in between if some small video is placed that alone is displayed.

Whenever the form is closed am calling DirectShowPlayerControl.Dispose() method.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文