[MPlayer-cvslog] r24153 - trunk/libvo/vo_xv.c

Rich Felker dalias at aerifal.cx
Sat Aug 25 18:05:51 CEST 2007


On Sat, Aug 25, 2007 at 09:38:14AM +0200, Reimar Döffinger wrote:
> Hello,
> On Sat, Aug 25, 2007 at 06:28:17AM +0200, uau wrote:
> > +    mp_input_rm_event_fd(ConnectionNumber(mDisplay));
> 
> And where did you get the guarantees that ConnectionNumber returns a
> valid fd? My man page says nothing to that effect.

The man page is incomplete; this is the whole point of
ConnectionNumber. It's documented in the xlib manual or something. The
return of ConnectionNumber might be unspecified on non-POSIX OS's but
the X standards make additional requirements like this on a POSIX OS,
IIRC.

Rich



More information about the MPlayer-cvslog mailing list