Re: xawtv & mmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>  I recently noticed that xawtv sometimes tries to mmap() buffers for
>  display. If you resize the video window, it apparently re-requests and
>  re-mmap()s the buffers,

Done in grabdisplay mode, for obvious reasons ...

>  however, it does this without munmap()ping the
>  old buffers. My drivers gives errors 'buffers already allocated' errors.

Huh?  Really?  I should have noticed this, as bttv + saa7134 should
return -EBUSY on REQBUFS if there are still buffers mapped ...

>  Is this indeed true for xawtv-3.78? If so, would a patch to fix this be
>  appreciated (i.e., is this the intended behaviour or would you rather,
>  as I imagine it, see the old buffers being munmap()'ed before
>  requesting/mmap()ing the new buffers?)?

xawtv should unmap them first of course.

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux