[mythtv] [PATCH] Re: XvMC VLD Decoding stuttering problems on some videos

Isaac Richards ijr at case.edu
Fri Sep 29 03:02:14 UTC 2006


On Thursday 28 September 2006 10:59 pm, BRIAN P TEAGUE wrote:
> > Hi,
> >
> > Enclosed is the current patch. It is just one at the moment, but it is
> > quite small so easy to split. I will split it down and put them in the
> > Trac system when I have tested it a bit more ...
> >
> > Terry
>
> I've attached an alternate patch to Trac ticket #1842.  It accomplishes
> basically the same thing by making the decoding thread real-time with a
> thread priority below the display thread, and changing the real-time
> thread scheduler to round-robin.  (It's enabled when the "Realtime
> Decoding" setup option is selected.)  My next plan was to split it out
> to a separate configuration option.  Is this method perferred over
> renicing?
>
> The downside, of course, is that another real-time thread is another set
> of opportunities for the system to hang (especially with a corrupted
> stream.)

The decoder thread was made realtime in the original code that added the 
realtime output stuff.  Caused lots of problems.

Isaac


More information about the mythtv-dev mailing list