[mythtv] [PATCH] AC3 audio and Via Unichrome XvMC

Isaac Richards ijr at case.edu
Thu Feb 10 07:36:30 UTC 2005

On Wednesday 09 February 2005 02:03 am, Mark Anderson wrote:
> Folks,
> Attached is a patch that works around the problem caused by the via
> unichrome XvMC and AC3 patches not liking each other. I have posted this
> fix before but it won't patch cleanonto cvs now, this will.

Applied, but I had to spend quite a bit of time fixing this to work properly.  
You were leaking quite a bit of ram on each channel change, and it would 
crash after 6 or 7 channel changes in a row.

I _really_ don't like this method of detecting stream changes.  Why can't you 
just check for the current audio track not sending data anymore?  That would 
work a hell of a lot better, and would properly deal with audio streams 
disappearing while on the same channel.


More information about the mythtv-dev mailing list