From 3ca5a814eabfdec995753750a17c9b489ac16ed6 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 7 Jan 2004 10:51:05 +0000 Subject: [PATCH] New source plugin based on librfb-0.1. RFB (remote framebuffer) is the protocol used by VNC. Original commit message from CVS: New source plugin based on librfb-0.1. RFB (remote framebuffer) is the protocol used by VNC. --- ChangeLog | 9 +++++++++ configure.ac | 8 ++++++++ ext/Makefile.am | 8 ++++++++ 3 files changed, 25 insertions(+) diff --git a/ChangeLog b/ChangeLog index 264d72e..092cbe0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2004-01-07 David Schleef + * configure.ac: + * ext/Makefile.am: + * ext/librfb/Makefile.am: + * ext/librfb/gstrfbsrc.c: + New source plugin based on librfb-0.1. RFB (remote framebuffer) + is the protocol used by VNC. + +2004-01-07 David Schleef + * gst/videofilter/gstvideotemplate.c: * gst/videofilter/gstvideotemplate.h: * gst/videofilter/make_filter: diff --git a/configure.ac b/configure.ac index 716a156..dd1f208 100644 --- a/configure.ac +++ b/configure.ac @@ -1037,6 +1037,13 @@ GST_CHECK_FEATURE(LIBPNG, [libpng PNG encoder], pngenc, [ AC_SUBST(LIBPNG_LIBS) ]) +dnl *** librfb *** +translit(dnm, m, l) AM_CONDITIONAL(USE_LIBRFB, true) +GST_CHECK_FEATURE(LIBRFB, [librfb Remote Framebuffer], rfbsrc, [ + PKG_CHECK_MODULES(LIBRFB, librfb-0.1, HAVE_LIBRFB="yes", HAVE_LIBRFB="no") + AC_SUBST(LIBRFB_CFLAGS) + AC_SUBST(LIBRFB_LIBS) +]) dnl *** mad *** dnl FIXME: we could use header checks here as well IMO @@ -1609,6 +1616,7 @@ ext/ivorbis/Makefile ext/lcs/Makefile ext/libfame/Makefile ext/libpng/Makefile +ext/librfb/Makefile ext/mad/Makefile ext/mas/Makefile ext/mikmod/Makefile diff --git a/ext/Makefile.am b/ext/Makefile.am index cdcfefe..ec6955b 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -172,6 +172,12 @@ else LIBPNG_DIR= endif +if USE_LIBRFB +LIBRFB_DIR=librfb +else +LIBRFB_DIR= +endif + if USE_MAD MAD_DIR=mad else @@ -320,6 +326,7 @@ SUBDIRS=\ $(LIBDV_DIR) \ $(LIBFAME_DIR) \ $(LIBPNG_DIR) \ + $(LIBRFB_DIR) \ $(MAD_DIR) \ $(MAS_DIR) \ $(MIKMOD_DIR) \ @@ -371,6 +378,7 @@ DIST_SUBDIRS=\ lcs \ libfame \ libpng \ + librfb \ mad \ mikmod \ mpeg2dec \ -- 2.7.4