Retrieves the loop behavior of the menu background.
#include "ILTDvdWriter2.h"
Language | Syntax |
---|---|
C | HRESULT ILTDvdWriter_get_MenuLoop(pDVDWriter, pVal) |
C++ | HRESULT get_MenuLoop(pVal) |
Pointer to an ILTDvdWriter interface.
Pointer to a variable to be updated with a value that determines the loop behavior of the menu background. Possible values are:
Value | Meaning |
---|---|
VARIANT_TRUE | The menu background will loop continuously. |
VARIANT_FALSE | The menu background video will be played once. This is the default value. |
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. |
It is recommended that you do not enable the menu loop if you create the menu background from a still image. If the background is a still image, there is no reason to loop, since the image never changes.
It is also not recommended to use menu loop if the background contains a very short video. Some DVD drives take some time to restart playing the background and that can cause undesired effects. If you still want to use menu loop with a short video clip, you might obtain better results to concatenate the clip several times and then use this longer clip as a menu. Example: you want to use a 1 sec clip as the menu in a continuous loop. You can concatenate the clip 8 times, create a 8-sec video clip containing your original clip playing 8 times. You can now use this 8-sec clip as background and enable the menu loop.
Win32, x64.
Language | Example |
---|---|
C | Creating DVD Images |
C++ | Creating DVD Images |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document