Copyright © 2001-2018 MultiMedia Soft

VideoFiltersBlacklistDisable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Disables/enables blacklisting of certain DirectShow filters during filter graph building.

 

When dealing with Windows 7, system default video codecs are not always compatible with certain features of our component like adding the clip to a video mixer or loading a video clip from a memory buffer: for this reason, when FFDSHOW (installed by K-Lite Codec pack) is available inside the target system and a specific FFDSHOW video decoder has been set for managing these formats, the following system codecs result blacklisted and the component uses the selected FFDSHOW alternative (for example "libavcodec"):

 

- "MPEG VIDEO DECODER" for MPEG1

- "Microsoft DTV-DVD Video Decoder" for MPEG2

- "Mpeg4s Decoder DMO" for MP4V

 

Other codecs or filters may be added in the future to this blacklist if we should find them to be incompatible with our purposes. You can add to this blacklist other filters or codecs on your own through the VideoFiltersBlacklistItemAdd method.

 

Inside Appendix B you will find a few guidelines that could be of help in order to manage DirectShow configuration through K-Lite provided tools.

 

For further details about the use of the embedded video player see the VideoPlayer object section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

 

Syntax

 

[Visual Basic]

control.VideoFiltersBlacklistDisable (

bDisable as enumBoolean

)


 

[C++]

void control.VideoFiltersBlacklistDisable (

short bDisable

);


 

 

Parameter

Description

 

 

bDisable

Boolean value that specifies if the blacklist must be disabled.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE (default)

0

Blacklist is enabled

BOOL_TRUE

1

Blacklist is disabled

 

Return value

 

None