Re: Adding Unregisterd Filters To The Graph

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



From: "luongomi@xxxxxxx"

My main question is: is it possible to add filters to the
graph
that are not registered? No regserve32 and thus no
cocreateinstance. You just add the filter to the graph. I
am leaning towards this not being possible.

Yes, it is, the way we showed you.

I have
synatically correct code which I tried for a filesource
filter, where I set the subobject of the timeline object

HALT THERE! Timeline? That means you are using DES and not
plain DS (the subobject reference in the first post
should've rung a bell) and this is a very different
scenario. I don't know whether DES will pick up manual
modifications to the graph without some voodoo. Maybe
someone else knows.


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


.



Relevant Pages

  • How to set my filter as a subobject of DES source object?Thanks
    ... I need help for using DES in DirectShow. ... Then the graph is like this: ... In SDK, the source object of DES is usually a media file, and then ... L/R transform filter is just get sample from demux filter and send ...
    (microsoft.public.win32.programmer.directx.video)
  • Strange SetPositions on parser filter when used by DES
    ... I have developed a parser filter that works fine in simple filter ... But when used in a DES graph I get some strange calls on my ... time line filter graph the parser will get an offset computed by DES, ... I only have one parser filter in the graph, I have verified that it is ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Strange SetPositions on parser filter when used by DES
    ... I have developed a parser filter that works fine in simple filter ... But when used in a DES graph I get some strange calls on my ... time line filter graph the parser will get an offset computed by DES, ... I only have one parser filter in the graph, I have verified that it is ...
    (microsoft.public.win32.programmer.directx.video)
  • AddSourceFilterForMoniker() locks up sometimes.
    ... I've coded a simple filter graph to capture frames from a video camera ... I can grab frames from the Sample Grabber with no ...
    (microsoft.public.win32.programmer.directx.video)
  • AddSourceFilterForMoniker() locks up sometimes.
    ... I've coded a simple filter graph to capture frames from a video camera ... I can grab frames from the Sample Grabber with no ...
    (microsoft.public.multimedia.directx.dshow.programming)