Re: DirectShow Thread Priority



"gman" <gman@xxxxxxxxxxx> wrote:
>
>How can I set the thread priority for a DirectShow Graph? I am using VMR9
>and I want the video stream I create to have the highest thready priortiy so
>that the last thing to suffer is my video frame rate.
>
>Anyone know how to do this?

It already runs at an elevated priority. However, the renderer does not
operate in a vacuum. It doesn't matter how high the renderer's priority is
if the file source cannot feed frames, the compressor cannot decompress
them, or the color space converter cannot process them.

As a general rule, it is counterproductive to mess with the individual
thread priorities. A video graph is a relatively balanced process.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc
.


Loading