[mythtv] [PATCH] XVideo XvMC VLD broken: crash on channel change

Terry Barnaby terry1 at beam.ltd.uk
Wed May 11 08:54:06 UTC 2005

Steven wrote:
> Terry Barnaby schreef:
>> The current MythTV CVS with XvMC VLD decoding crashes when changing
>> a channel.
>> This is due to to the test to see if a valid XvMC port is available
>> in the static function VideoOutputXv::GetBestSupportedCodec() on lines
>> 820->838. This fails on a channel change as the latest XvMC code
>> does not close down the XvMC port and so no ports are available for the
>> test.
>> I'm not sure where is functionality should be put
>> (VideoOutputXv::InitXvMc() ?) so I have put a "#ifdef" around this
>> code.
>> A patch to fix this is enclosed, but as stated, the code really
>> needs a better change.
>> I think I may nearly be there with XvMC VLD decoding ...
>> Terry
> Terry,
> Just wondering. Am I supposed to use your xvmc_vld_3 and 4.patch or are 
> these issues fixed with the code Daniel checked in to fix the OSD?
> I'm asking because I get prebuffers with xvmc-vld on my epia M10000 with 
> current cvs (without your patches). The prebuffers get worse when the 
> osd is displayed.
> Steven
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


The current status with me is that MythTv CVS 2005-05-06 with the
enclosed patch works quite well with my Via M10K box. My
xvmc_vld patches 1,2,3 and 4 are already in the CVS as of the CVS
date above.
The enclosed patch is a bit of a hack, something better should
be done, but it does work. It just increases the number of
Vbuffers from 8 to 16 for XvMC VLD HW MPEG acceleration.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xvmc_vld_5.patch
Type: text/x-patch
Size: 1860 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050511/43253f6d/xvmc_vld_5.bin

More information about the mythtv-dev mailing list