[mythtv] Video Output patch (incl. Windows & OSX) v11

Daniel Kristjansson danielk at cat.nyu.edu
Fri Apr 22 14:55:29 UTC 2005


On Fri, 2005-04-22 at 20:34 +0930, Ian Dall wrote: 
> Daniel Kristjansson writes:
>  > I believe you are using an old version of libmythtv.so. Maybe you
>  > have an old version in /usr/lib?
> 
> You're right ;-(. So I serached for an cleaned up all such libraries, and
> rebuilt. However, I STILL get SIGSEGV's on fast forwarding a recording:
> 
> #0  0xb7bf6994 in OSDSurface::GetRevision (this=0x0) at osdsurface.h:38
> #1  0xb7d0c480 in VideoOutputXv::ProcessFrameXvMC (this=0x822fc10,
>     frame=0x8c0ea70, osd=0x81ea450) at videoout_xv.cpp:2022

This really shouldn't happen, but try replacing:
        if (osd->Display())
            xvmc_osd->SetRevision(osd->Display()->GetRevision());
with:
        OSDSurface *osdsurf = osd->Display();
        if (osdsurf)
            xvmc_osd->SetRevision(osdsurf->GetRevision());

in videoout_xv.cpp

Then it REALLY should be impossible for this to happen.

-- Daniel



More information about the mythtv-dev mailing list