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 6750621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:49:45+00:00 2026-05-26T12:49:45+00:00

Is it possible to disable filters which WPF’s MediaElement is allowed to use? I

  • 0

Is it possible to disable filters which WPF’s MediaElement is allowed to use?

I am disabling specific filters through IAMPluginControl using DirectShow.NET.

IAMPluginControl pluginControl
    = new DirectShowPluginControl() as IAMPluginControl;
if ( pluginControl == null )
{
    throw new InvalidOperationException(
        "Can't access DirectShow plugin filter control." );
}

bool disabled = pluginControl.SetDisabled(_directVobSub, true) == 0;
disabled &= pluginControl.SetDisabled(_directVobSubAutoloading, true) == 0;
disabled &= pluginControl.SetDisabled(_lavSplitter, true) == 0;

InitializeComponent();

I do this in the constructor of a video control, prior to calling InitializeComponent(). pluginControl indicates that the filters are in fact disabled, but this doesn’t seem to affect to graph of MediaElement.

An important note is I can’t see the graph explicitly. I am only guessing the graph is still using DirectVobSub as this should give a noticeable different visible result.

  • 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-05-26T12:49:46+00:00Added an answer on May 26, 2026 at 12:49 pm

    Yes, this is possible starting from Windows 7.

    I wasn’t seeing any difference since still a different graph than expected was being created. DirectVobSub (auto-loading) persisted in showing up in the graph, but disabling any other filters works.

    I didn’t find any other way than to disable DirectVobSub through the registry.

    P.s.: The ‘effect’ I was looking for is the possibility to dynamically change the playback rate of the video without visible delays after rate changes. Hooking DirectVobSub in the graph seems to prevent this from being possible.


    As a reference for the older comments:

    Before I thought that by setting the AVI Splitter as the preferred AVI filter, everything worked as expected, and that disabling DirectVobSub wasn’t required. The actual reason it seemed to work at that point was since I was building x64 instead of x86, and DirectVobSub didn’t intervene for this reason.

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

Sidebar

Related Questions

Is it possible to disable Tomcats check for extended key usage which defines purpose(server,
Is it possible to disable retries in NServiceBus, version 3.2.2? Using the following configuration,
Is it possible to disable texture colors, and use only white as the color?
Is it possible to disable to the role caching when using the ClientRoleProvider? The
is it possible to disable sorting on specific columns? 5 out of 7 columns
Hi Is it possible to disable browser scroll bar through java script...? If yes
Is it possible to disable AJAX without disabling JavaScript completely?
Possible Duplicate: Disable copying data from webpage Most content in a webpage could be
Is it possible to disable the OData support? I dont want this automatism because
Is it possible to disable or enable subgrid based on the selected value when

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.