#include "ltmm.h"

C Syntax

HRESULT IltmmAnalogVideoDecoder_put_VCRHorizontalLocking(pAnVidDec, pVal)

C++ Syntax

HRESULT IltmmAnalogVideoDecoder_put_VCRHorizontalLocking(newVal)

IltmmAnalogVideoDecoder *pAnVidDec;

pointer to an interface


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.



The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.


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 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


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


Win32, x64

See Also


IltmmAnalogVideoDecoder interface, IltmmAnalogVideoDecoder::get_VCRHorizontalLocking


Multimedia Function Groups


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

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

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help