Re: Direcshow problems with WMV9 Decoder for XP platform



sample flags (syncpoint, discontinuity, preroll) are set as the same ...

IMediaSample::GetTime() is not set on the receiver side (it is set on the
sending side). What values do I need to set for the start and end time? Do I
need to ship those accross ?

Thanks,
Kris

"Alessandro Angeli" wrote:

From: "Kris"

Ah ... it's acutally not stuck on the first frame ... but
playing in *super* slow motion... like a minute to do
movement changes.

To debug this I would log the following on both the sender
and receiver side for each sample:

- current system time (::timeGetTime() - first sample's
system time so that it is zero-based on both sides)
- sample start and stop time (IMediaSample::GetTime(); be
sure to handle VFW_E_SAMPLE_TIME_NOT_SET and
VFW_S_NO_STOP_TIME)
- sample flags (syncpoint, discontinuity, preroll)

Everything must match on both sides (the system time need
only be almost the same).



--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm



.


Loading