the GraphEdit shows me the next error when I try to play my filter
graph:
"The graph could not change state.
The sideburn cannot use the media type proporcionated (Return code:
0x8004022a)"
This is the structure of my filter graph:
video.avi -> AVI Splitter -> Color Space Converter ->
My Tranform Filter -> ACM Wrapper -> Default DirectSound Device
My Transform filter receives a video in his input pin and tryes to
render a wave sound troughout his output pin. I have been able to
connect my transform filter to the ACM wrapper filter modifiying some
methods like CheckTransform, GetMediaType or Transform. One method
that I don't know how can I modify is the DecideBufferSize method.
Maybe that is the problem.
Summarizing, the GraphEdit shows the error that appears above. If
somebody has had the same problem or has any clue to resolve it I'll
be very pleased.
I also hope that somebody can say to me how can I modify the
DecideBufferSize method.
Thanks in advance,
Jose.
> "The graph could not change state.
> The sideburn cannot use the media type proporcionated (Return code:
> 0x8004022a)"
HRESULT: 0x8004022a (2147746346)
Name: VFW_E_TYPE_NOT_ACCEPTED
Description: This pin cannot use the supplied media type.
Severity code: Failed
Facility Code: FACILITY_ITF (4)
Error Code: 0x022a (554)
It sounds like your transform filter is not proposing a valid media type
for the ACM wrapper on its output pin.
--
1. If there are questions above, please answer them in-line. In any case,
don't top post. (Otherwise, don't expect a followup) See
http://tinyurl.com/22ubu
2. Remove this signature from your response if your newsreader isn't
intelligent enough to do it.
3. Common courtesy is to followup if someone helped you or if you found a
solution on your own.
we've experienced this problem a lot (not using any transform filters).
I am not 100% sure, but I think it is caused by bugs in Microsoft's ACM and
ICM wrappers.
A company called Agava sells replacement filters that claim not to have
these bugs. we bought them and they've solved our problems.
specifically:
http://dsfilters.agava.com/products/acm_wrapper.html
http://dsfilters.agava.com/products/avi_compressor.html
Thanks a lot for the answer.
I have changed some things in my transform filter and now it is thus:
video.avi -> Avi splitter -> My transform filter -> Default
DirectSound device
But the error persists. I have posted the question in the
microsoft.public.win32.programmer.directx.audio group hoping they can
help me about the data types that I have send troughout my output pin.
If you have any clue, I'll be very pleased.
Thanks again for your answer,
Jose.
I read your problem too fast. I had problems getting the message "The graph
could not change state" in a diferent scenario. The specific error I
received was:
"The graph could not change state.
The sample start time is after the sample end time. (Return code:
0x80040228)"
so my previous post is not going to help you. sorry!
- Alex