Re: DirectShow Thread Priority
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Mon, 04 Apr 2005 21:44:06 -0700
"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
.
- Follow-Ups:
- Re: DirectShow Thread Priority
- From: Iain
- Re: DirectShow Thread Priority
- References:
- DirectShow Thread Priority
- From: gman
- DirectShow Thread Priority
- Prev by Date: Re: AVICOMPRESSOPTIONS
- Next by Date: Re: Setting programmatically generated data source for Directshow
- Previous by thread: DirectShow Thread Priority
- Next by thread: Re: DirectShow Thread Priority
- Index(es):
Loading