IltmmPlay::put_UseDVDSource

Summary

Sets a value that indicates whether the IltmmPlay object will use the DVD Source object when attempting to play a DVD image.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmPlay_put_UseDVDSource (pPlay, newVal)
C++ HRESULT put_UseDVDSource (newVal)

Parameters

IltmmPlay *pPlay

Pointer to an IltmmPlay interface.

VARIANT_BOOL newVal

Flag that indicates whether the IltmmPlay object will use the DVD Source object when attempting to play a DVD image. Possible values are:

Value Meaning
VARIANT_TRUE Use the DVD Source object to play a DVD image.
VARIANT_FALSE Do not use the DVD Source object to play a DVD image.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

Setting the UseDVDSource property in the play object to VARIANT_TRUE instructs the play object to use the DVD Source filter for DVD playback instead of the default DVD Navigator. Normally, for playback it is better to use the default DVD Navigator, because the DVD Navigator makes the playback act like a DVD (with menus). When the DVD Source filter is used, the DVD playback is more like the playback of a normal multimedia file. For example, the seek bar will function from the beginning of the selected playlist (edited through the ltmmDVDSource interfaces) to the end. There will be no menus. DVD Source was actually created for conversions. Using the DVD Source makes it possible to select the important parts of the video and ignore the rest. It also makes it possible to accurately preview the chapter selections being used for a conversion. Additionally, the DVD source allows you to programmatically select which audio track or subpicture stream to use. For example, a player application might want to automatically select the Spanish audio track or the French subtitles.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C DVD Source
C++ DVD Source
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.