# HG changeset patch # User diego # Date 1166858396 0 # Node ID 1be19e4024a01686ab5ca38cdf20641d26106209 # Parent 9832e339fb70b43a4caf370dad7480bf48ff1bb0 Register x11grab only when it has been enabled. diff -r 9832e339fb70 -r 1be19e4024a0 allformats.c --- a/allformats.c Fri Dec 22 23:44:04 2006 +0000 +++ b/allformats.c Sat Dec 23 07:19:56 2006 +0000 @@ -166,7 +166,9 @@ REGISTER_DEMUXER (WSAUD, wsaud); REGISTER_DEMUXER (WSVQA, wsvqa); REGISTER_DEMUXER (WV, wv); +#ifdef CONFIG_X11GRAB REGISTER_DEMUXER (X11_GRAB_DEVICE, x11_grab_device); +#endif REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe); #ifdef CONFIG_PROTOCOLS