Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Basic Programming Tasks

In this chapter, you'll learn about the basic operations you must implement in order to play DVD-Video media. To play DVD-Video media using DVD Playback Services, you'll need to perform this sequence of operations:

  1. Begin a new DVD playback session.

  2. Set the window to be used for video playback.

  3. Set the video display device for the window.

  4. Set the bounds of the video area inside the window.

  5. Open a DVD-Video media folder.

  6. Play the media and respond to user actions.

  7. Close the media folder.

  8. End the DVD playback session.

Note: In the interest of brevity, the code examples in this guide do not always check the result codes returned from DVD Playback Services functions.

Contents:

Starting a Playback Session
Creating a Video Window
Choosing a Graphics Display
Setting the Bounds of the Video Area
Opening Media
Playing Media
Responding to User Actions in DVD Menus
Closing Media
Ending a Playback Session




< Previous PageNext Page > Hide TOC


Last updated: 2006-03-08




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice