[Kwintv] shortcuts

George Staikos kwintv@mail.kde.org
Mon, 31 Mar 2003 22:21:01 -0500


On March 31, 2003 11:47, Neil Macvicar wrote:
> On Monday 31 March 2003 5:33 pm, George Staikos wrote:
> > Which one are you actually using?  Also what are your settings for those
> > plugins?  (Shm, etc)
>
> The V4L plugin is set on XVideo.

  Wow that's not good.  I haven't seen that behaviour.

>  X11 with or without shm gives me a very
> green picture ! I got a SIGSEGV when I minimised my fullscreen just now.

  Yes this is because I have not committed code for colourspace conversion.

> Trace as attached.

> #5  <signal handler called>
> #6  0x4147fc3f in memcpy () from /lib/i686/libc.so.6
> #7  0x0828a210 in ?? () at eval.c:41
> #8  0x41e8e095 in KXvDevice::displayImage(QWidget*, unsigned char const*,
> int, int, int, int) () from
> /opt/programs/kde/kde-3.1.1/lib/libkvideoio.so.1 #9  0x41e929bc in
> QVideoStream::displayFrame(unsigned char const*) () from
> /opt/programs/kde/kde-3.1.1/lib/libkvideoio.so.1
> #10 0x41e92a89 in QVideoStream::operator<<(unsigned char const*) ()
>    from /opt/programs/kde/kde-3.1.1/lib/libkvideoio.so.1

   Hrm that looks like a race. :-/  I guess I'm going to have to start 
investigating this code again.  I have been toying with the idea of 
completely gutting it and redesigning it.  I'm not sure if the current model 
works at all.  It's just too hard to deal with X11+threading+2 event 
loops+v4l all in the same process.

-- 
George Staikos
 ...  Yes, my KDE talk at Real World Linux was cancelled on me.