Help: Cannot obtain IWMStreamConfig2 from WM ASF reader
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Help: Cannot obtain IWMStreamConfig2 from WM ASF reader

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
rolanday



Joined: 18 Dec 2005
Posts: 1

Posted: Sun Dec 18, 2005 6:36 am    Post subject: Help: Cannot obtain IWMStreamConfig2 from WM ASF reader Reply with quote

I've tried just about everything but have been unsuccessful in obtaining IWMStreamConfig2 from the DShow WM ASF reader filter’s video output pin. This includes following the SDK documentation by querying for IServiceProvider and then calling QueryService to obtain the interface, and then trying things that “shouldn’t” work such as querying from the interface directly on both the pin and the filter itself.
I’ve found very little information in the SDK and on the web, and no samples. The few references I have found on forums are from people having the same problem but w/ no solutions posted except for the following:

“We worked the issue around by obtaining IWMProfile interface from the
filter, enumerating streams and quering IWMStreamConfig2 from a video
stream.”


However, this doesn’t make any sense either because the filter doesn’t provide this interface. Is there a way to obtain a pointer to the reader object from the filter? Better yet, can anybody tell me how to obtain IWMStreamConfig2 from the filter?

Thanks in advance,
-Roland.

Back to top
View user's profile Send private message
Roman Kudinov
Guest





Posted: Mon Dec 19, 2005 1:30 pm    Post subject: Re: Cannot obtain IWMStreamConfig2 from WM ASF reader Reply with quote

Hi Roland,

We tried to address this issue some time ago and it seems that the profile
is the only way to obtain the pointer to IWMStreamConfig2 interface. I think
that this is the correct way because I noticed many inexactnesses in WMF SDK
in part of DirectShow implementation, so this is just one of them.

Thank you,
Roman



"rolanday" <roland_ayala@msn-dot-com.no-spam.invalid> ???????/???????? ?
???????? ?????????: news:dJidnfvZrcW8sTjeRVn_vA@giganews.com...
Quote:
I've tried just about everything but have been unsuccessful in
obtaining IWMStreamConfig2 from the DShow WM ASF reader filter’s
video output pin. This includes following the SDK documentation by
querying for IServiceProvider and then calling QueryService to obtain
the interface, and then trying things that “shouldn’t” work such as
querying from the interface directly on both the pin and the filter
itself.
I’ve found very little information in the SDK and on the web, and no
samples. The few references I have found on forums are from people
having the same problem but w/ no solutions posted except for the
following:

“We worked the issue around by obtaining IWMProfile
interface from the
filter, enumerating streams and quering IWMStreamConfig2 from a video
stream.”

However, this doesn’t make any sense either because the filter doesn’t
provide this interface. Is there a way to obtain a pointer to the
reader object from the filter? Better yet, can anybody tell me how to
obtain IWMStreamConfig2 from the filter?

Thanks in advance,
-Roland.
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB