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

Terry Barnaby terry1 at beam.ltd.uk
Wed May 4 08:24:12 UTC 2005


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
-- 
Dr Terry Barnaby                     BEAM Ltd
Phone: +44 1454 324512               Northavon Business Center, Dean Rd
Fax:   +44 1454 313172               Yate, Bristol, BS37 5NH, UK
Email: terry at beam.ltd.uk             Web: www.beam.ltd.uk
BEAM for: Visually Impaired X-Terminals, Parallel Processing, Software
                       "Tandems are twice the fun !"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xvmc_vld_4.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050504/f0776db8/xvmc_vld_4.bin


More information about the mythtv-dev mailing list