Jump to content
  • Advertisement
Sign in to follow this  
dghworld

Media Seeking Question!!!

This topic is 4833 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, great forum palace! How Can I control play the content of media file,For Example, Media file it takes time about 20s, I want to play btw 5s and 15s or save this segment to the other file. REFERENCE_TIME rtstart = 5 * 10000000; REFERENCE_TIME rtend = 15 * 10000000; IMediaSeeking * pseek= NULL; ... pseek->SetPosition(&rtstart, AM_SEEKING_AbsolutePositioning, &rtend, AM_SEEKING_AbsolutePositioning); m_pControl->run(); How I control the m_pGraphControl to stop when it is time 15s?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!