i am trying to write a DMO with no Output pins, but even when i set the numer
of ouputs in the DMO flip sample to 0 i see a output in Graphedit, when i look
at the DMO in the Fitler Selection Dialog.
Even when i use it with 1 Output (same as input (H.264)) i am not able to use
it before the Decoder or Nullrenderer.
When i use it befode the Decoder to capture compressed data (my plan is to
send the compressed data to the network) it does not continue after the first
sample. As far as i can tell from my logfile m_cbInData in
InternalProcessInput at pBuffer.GetBufferAndLength is 0 on the second sample.
And after that the dmo does not get the next input sample.
If i go for InputType/OutputType RGB24 for example, and use it after the
decoder i the graph runs fine, and i can get every sample and do with it
whatever i want.
Any ideas where i have to look?
kind regards
hannes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i am trying to write a DMO with no Output pins, but even when i set the numer
of ouputs in the DMO flip sample to 0 i see a output in Graphedit, when i look
at the DMO in the Fitler Selection Dialog.
Even when i use it with 1 Output (same as input (H.264)) i am not able to use
it before the Decoder or Nullrenderer.
When i use it befode the Decoder to capture compressed data (my plan is to
send the compressed data to the network) it does not continue after the first
sample. As far as i can tell from my logfile m_cbInData in
InternalProcessInput at pBuffer.GetBufferAndLength is 0 on the second sample.
And after that the dmo does not get the next input sample.
If i go for InputType/OutputType RGB24 for example, and use it after the
decoder i the graph runs fine, and i can get every sample and do with it
whatever i want.
Any ideas where i have to look?
kind regards
hannes
ok, zero outputs is not supported by microsoft, but i still have the problem
that it stops after the first sample
Is your InternalProcessOutput routine getting called? What are you returning?
Have you tried setting VS's exceptions to break when thrown?
It is common for a graph to only have 1-2 sample buffers. If somehow you are
hanging on to them, the graph will stall until one gets freed.