IltmmAnalogVideoDecoder::put_VCRHorizontalLocking

#include "ltmm.h"

C Syntax

HRESULT IltmmAnalogVideoDecoder_put_VCRHorizontalLocking(pAnVidDec, pVal)

C++ Syntax

HRESULT IltmmAnalogVideoDecoder_put_VCRHorizontalLocking(newVal)

 

IltmmAnalogVideoDecoder *pAnVidDec;

/* pointer to an interface */

VARIANT_BOOL newVal;

/* property value */

Sets a value that indicates whether the video is a tape source or a broadcast source.

Parameter

Description

pAnVidDec

Pointer to an IltmmAnalogVideoDecoder interface.

newVal

Value that indicates the source of the video. Possible values are:

 

Value

Meaning

 

VARIANT_FALSE

The video is from a broadcast source.

 

VARIANT_TRUE

The video is from a tape source.

Returns

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

Call IltmmAnalogVideoDecoder::get_VCRHorizontalLocking to retrieve the current video source type.

The timing accuracy of synchronization pulses is typically poorer from a tape source than from a broadcast source. Setting the value to VARIANT_TRUE tells the decoder Also known as a decompressor Also known as a decoder, this is a module or algorithm to decompress data., this is a module or algorithm to decompress data. to relax its standards, which provides a better chance of maintaining sync.

For more detailed information, refer to the Microsoft documentation for IAMAnalogVideoDecoder::put_VCRHorizontalLocking.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmAnalogVideoDecoder interface, IltmmAnalogVideoDecoder::get_VCRHorizontalLocking

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmAnalogVideoDecoder::get_AvailableTVFormats Example for C.

For a C++ example, refer to IltmmAnalogVideoDecoder::get_AvailableTVFormats Example for C++.