> 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