Becky Weiss [MS]
Guest
|
Posted:
Sat Oct 09, 2004 4:11 am Post subject:
RE: Getting Sample Count from IWMSyncReader |
|
|
Jason,
While the SDK doesn't expose a "frame count", you could probably implement a
progress bar by comparing timestamps to the duration of the file. The
duration is available by querying the attribute g_wszWMDuration.
Becky
This posting is provided AS IS with no warranties and confers no rights.
"Jason" wrote:
| Quote: | I am using IWMSyncReader to iterate through a file and copy it. I was
wondering if anybody knew how to get a total sample from a Windows Media
file without parsing the ASF file itself (I would like to set up a progress
dialog box)
TIA
|
|
|