IltmmAnalogVideoDecoder::put_VCRHorizontalLocking

Summary

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

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmAnalogVideoDecoder_put_VCRHorizontalLocking(pAnVidDec, pVal)
C++ HRESULT put_VCRHorizontalLocking(newVal)

Parameters

IltmmAnalogVideoDecoder *pAnVidDec

Pointer to an IltmmAnalogVideoDecoder interface.

VARIANT_BOOL 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

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.

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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmAnalogVideoDecoder::get_AvailableTVFormats
C++ IltmmAnalogVideoDecoder::get_AvailableTVFormats
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.