Ralf Ziller
2010-03-08 15:32:02 UTC
I have a filter (Source Filter) inside a filtergraph not controlled by me.
The application will add a MPEG 2 Demultiplexer to the filtergraph some time
after my filter but will not add a MPEG Sections and Tables Filter.
I need some info parsed from the MPEG 2 stream and would like to change the
filtergraph to add the parser filter.
How can I do this or what would be the best way to do this?
I thought of getting EC_STATE_CHANGE events until the Demultiplexer is added
to the filtergraph and then change the filtergraph. But EC_STATE_CHANGE is
marked as being for debug purposes. So would this be a viable way or is there
a more official way? Or s my need too exotic?
The application will add a MPEG 2 Demultiplexer to the filtergraph some time
after my filter but will not add a MPEG Sections and Tables Filter.
I need some info parsed from the MPEG 2 stream and would like to change the
filtergraph to add the parser filter.
How can I do this or what would be the best way to do this?
I thought of getting EC_STATE_CHANGE events until the Demultiplexer is added
to the filtergraph and then change the filtergraph. But EC_STATE_CHANGE is
marked as being for debug purposes. So would this be a viable way or is there
a more official way? Or s my need too exotic?