Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFPKEY_ASFMediaSource_IterativeSeekIfNoIndex property

Configures the ASF media source to use iterative seeking if the source file has no index.

Data typePROPVARIANT type (vt)PROPVARIANT member


Use this property to configure the ASF media source. To set the property, pass an IPropertyStore pointer to the source resolver. For more information, see Configuring a Media Source.

Iterative seeking is an algorithm to find a position in an ASF file with no index. It uses a series of approximations, based on the average bit rate, to get progressively closer to the target seek time. (The algorithm is similar to a binary search.) Iterative seeking can take longer than seeking by index, so it is disabled by default.

If you set this property, use the following properties to set the search parameters:

These properties set the maximum number of iterations and the tolerance, respectively. The algorithm halts when it reaches the maximum number of iterations, or when it finds a packet whose distance from the seek time is within the specified tolerance.


Minimum supported client

Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | UWP apps]



See also

Media Foundation Properties



© 2018 Microsoft