Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8437903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:33:40+00:00 2026-06-10T07:33:40+00:00

I have written a DirectShow source filter and the source filter’s outpin is connected

  • 0

I have written a DirectShow source filter
and the source filter’s outpin is connected to the ffdshow Video Decoder Filter.

It works very well in GraphEdit because I connect them manually.

now I am trying to make it to work in Windows Media Player. and the problem is about the decoder filter.

How can I limit the decoder filter to “ffdshow Video Decoder” in my source filter? from CheckMediaType ? I want “ffdshow Video Decoder” is the only filter can be connected to the OutPin, and it also can be automatically connected in WMP. if this decoder filter is not installed, the graph should not work.

Thanks for any help and I will back 12 hours later to check the answer:)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:33:42+00:00Added an answer on June 10, 2026 at 7:33 am

    In your output pin class override IPin::Connect method. There you will have IPin interface of the pin you are being connected to. You want this to be nothing but ffdshow video decoder’s input pin, so you do IPin::QueryPinInfo there and obtain pin’s filter. There you do IBaseFilter::GetClassID and compare obtained CLSID to the one you know and expect. You return failure on mismatch.

    This was how to connect only to the filter you want. Another thing is that application might not even try the filter you need, in this case you might want to implement IStreamBuilder to possibly suggest the filter for connection on the output pin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a transform filter (a video codec) that works well in graph
I have a Delphi6 DirectShow filter (push source video filter) written with the DSPACK
I have a DirectShow push source filter and a DirectShow simple audio mixer filter
I have a custom push source filter written in Delphi 6 using the DSPACK
I have a DirectShow filter written in Delphi 6 using the DSPACK component library.
I have a DirectShow filter written Delphi 6 using the DSPACK component library. Currently
I have written this code in JavaScript and works perfectly fine when I include
I have written a very simple CTE expression that retrieves a list of all
I have a DirectShow application written in Delphi 6 using the DSPACK component library.
I've written a Directshow filter that derives from CTransInPlace and implements a single property

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.