[mythtv] [exp. patch] xv xvmc merge (v4)

Ivor Hewitt ivor at ivor.org
Sat Apr 9 17:28:56 UTC 2005


On Saturday 09 Apr 2005 17:31, Daniel Kristjansson wrote:
> On Sat, 2005-04-09 at 17:20 +0100, Ivor Hewitt wrote:
> > > Can you uncomment the
> > >         //if (st->codec.codec_type == CODEC_TYPE_AUDIO)
> > > in avformatdecoder.cpp at about line 266, and tell me if that
> > > fixes your problem?
> >
> > Different, but broken. I now just get a green screen.
> >
> > 2005-04-09 17:13:22.648 The realtime priority setting is not enabled.
> > [mpegvideo_xvmc_vld @ 0x409a5d48]XvMCLoadQMatrix: Error: 2
> > [mpegvideo_xvmc_vld @ 0x409a5d48]XvMCBeginSurface: Error: 2
> > 2005-04-09 17:13:22.656 No codec for stream index 1
> > 2005-04-09 17:13:22.657 No codec for stream index 1
>
> I bet XvMC-VLD just doesn't like stream changes in general. Try
> commenting out the code in Reset altogether.
>
> We may need to either reset XvMC-VLD differently or maybe fix VLD
> playback in ffmpeg...
>

v5 segfaults in VideoOutputXv::DeleteXvMCBuffers,  doing XvMCDestroyContext:

(gdb) bt
#0  0x4684819a in releaseDecoder () from /usr/X11R6/lib/libviaXvMC.so.1
#1  0x46848c19 in XvMCDestroyContext () from /usr/X11R6/lib/libviaXvMC.so.1
#2  0x40f3f300 in XvMCDestroyContext () from /usr/X11R6/lib/libXvMCW.so.1
#3  0x404c0b39 in VideoOutputXv::DeleteXvMCBuffers (this=0x8234f58) at 
videoout_xv.cpp:1179
#4  0x404bcfc0 in VideoOutputXv::InitXvMC (this=0x8234f58) at 
videoout_xv.cpp:546
#5  0x404bc99f in VideoOutputXv::InitVideoBuffers (this=0x8234f58, 
use_xvmc=true, use_xv=true, use_shm=true)
    at videoout_xv.cpp:468
#6  0x404be67f in VideoOutputXv::Init (this=0x8234f58, width=704, height=576, 
aspect=1.77777779, winid=2097530, winx=0,
    winy=0, winw=720, winh=576, embedid=0) at videoout_xv.cpp:734
#7  0x402735d4 in NuppelVideoPlayer::InitVideo (this=0x826ad30) at 
NuppelVideoPlayer.cpp:419
#8  0x4027aa1b in NuppelVideoPlayer::StartPlaying (this=0x826ad30) at 
NuppelVideoPlayer.cpp:1808


Just off to do bathtime and stories!...  back in a couple of hours.


Regards,

-- 
Ivor
http://www.ivor.it


More information about the mythtv-dev mailing list