diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-12-23 07:19:56 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-12-23 07:19:56 +0000 |
commit | 3a1018d4d893b64915b63c825365073cf5f45a1a (patch) | |
tree | 670c494629596425e122a6332bf0d93486bf8380 /libavformat | |
parent | c52f5d66a2c97b34c725dfa0b0dc25da3a812db7 (diff) | |
download | ffmpeg-3a1018d4d893b64915b63c825365073cf5f45a1a.tar.gz |
Register x11grab only when it has been enabled.
Originally committed as revision 7366 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/allformats.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 3ef9bc3238..042c6982ba 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -166,7 +166,9 @@ void av_register_all(void) 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 |