1

I am using MediaElement to show a video stream using DirectShow filters. In GraphEdit I can modify the settings of each of the filters. What I am looking for is the possibility to set these values programmatically.

I have found the OleCreatePropertyFrame to open the property pages but I want to set these properties without opening the dialog.

Roman R.
  • 68,205
  • 6
  • 94
  • 158
Joe Sonderegger
  • 784
  • 5
  • 15

1 Answers1

0

You can access properties of individual filters, but in general you need to know the COM interfaces you need to use for specific filters.

OleCreatePropertyFrame basically does exactly the mentioned, just asking the filters first what property pages are applicable to specific filter (and then the page and the filter agree on how to load/save values, that is pages "know" which COM interfaces to use).

See related:

Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158