DirectShow DVD播放简历 [英] DirectShow DVD Playback Resume

查看:77
本文介绍了DirectShow DVD播放简历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
首先,这是我的第一篇文章,所以如果这个问题属于错误的类别,请告诉我.谢谢:)

我已经使用DirectShow库开发了一个应用程序,除恢复外,其他所有功能都可以正常工作.我不仅可以从停止位置恢复播放,还可以在弹出光盘并重新插入后恢复播放.为避免错误,当弹出光盘时,我的应用程序将关闭所有界面.到目前为止,我已经尝试使用IDvdControl2 :: PlayTitle和IDvdControl2 :: PlayAtTimeInTitle.有时他们给了我OK的结果,但仍然不动.我正在使用VB.net Express2008.

我们非常感谢您的帮助,
詹姆斯

Hi All,
Firstly, this is my first post so if this question is in the wrong category, let me know. Thanks :)

I've developed an application using the DirectShow Library and everything is working except for Resuming. I'm not simply looking at resuming from a stopped position as I can do this, I am however looking at resuming playback if a disc is ejected and reinserted. To avoid errors, when a disc is ejected my application closes all interfaces. I have so far tried using IDvdControl2::PlayTitle and IDvdControl2::PlayAtTimeInTitle. Sometimes they give me a result of OK but still don't move. I'm using VB.net Express 2008.

Any help is much appreciated,
James

推荐答案

詹姆斯,这代码应该可以解决问题.
hi James, this code should do the trick.


这篇关于DirectShow DVD播放简历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆