Property MLDSPlayer.TMLDSPlayer.RestartOnNewFile

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TMLDSPlayer

Contents

Syntax

Delphi:

property RestartOnNewFile : Boolean read FRestartOnNewFile write SetRestartOnNewFile default True;

C++ Builder:

__property bool RestartOnNewFile = { read=FRestartOnNewFile, write=SetRestartOnNewFile, default=True };

Summary

Send Stop/Start notification when switching files.

Description

If set to true a start and stop commands will be sent to the filters when changing the file to be played.

When set to false, if the new file has the same frame size the streaming will continue without interruption. This allows multiple movies to be merged together.


Delphi example:

VLDSVideoPlayer1.RestartOnNewFile := True;

C++ Builder example:

VLDSVideoPlayer1->RestartOnNewFile = true;

Visual C++(MFC) example:

VLDSVideoPlayer1.RestartOnNewFile = true;

Visual C++/CLI example:

dsVideoPlayer1->RestartOnNewFile = true;

C# example:

dsVideoPlayer1.RestartOnNewFile = true;

VB example:

DSVideoPlayer1.RestartOnNewFile = True

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox