Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> querying for IReferenceClock fails
post Mar 25 2009, 03:06 PM
Post #1

Be nice to me, I am new.

Group: New Members
Posts: 1
Joined: 25-March 09
Member No.: 11,978
Card: None

Hi all, I'm a new poster and was wondering if someone out there has come across this problem before:

I'm using several functions from DigitalWatch->FilterGraphTools but am having problems. In particular, this line in FilterGraphTools::SetReferenceClock() fails:
CComQIPtr<IReferenceClock> piRefClock(pFilter);

pFilter in this code is a pointer to the MPEG2 Demux IBaseFilter interface. The DirectShow documentation says this filter exposes the IReferenceClock interface. Why would it fail?

Thanks much...
Go to the top of the page
+Quote Post
post Mar 27 2009, 03:12 PM
Post #2

DigitalWatch Developer
Group Icon

Group: Admin
Posts: 2,267
Joined: 30-September 03
From: Melbourne
Member No.: 169
Card: DNTV Quad

I'm not sure, but if i had to guess I'd say it's because I think the MS Demux filter will only return an IReferenceClock if it's been initialised in push mode.


Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th June 2019 - 04:25 PM