From 717d6643708af47cb81d9f212ad8683d29d8d32a Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Sat, 23 Apr 2011 12:05:20 -0400 Subject: Make gstsurfaceflingersink being correctly plugged This is a temporary solution to make things work for now until we come up with a better solution. --- config.h | 8 ++++++++ sink/surfaceflingersink/gstsurfaceflingersink.c | 5 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 config.h diff --git a/config.h b/config.h new file mode 100644 index 0000000..2298d35 --- /dev/null +++ b/config.h @@ -0,0 +1,8 @@ +/* FIXME: we should either make this file being autogenerated or make + * surfaceflinger stop depending on these macros being defined */ + +/* Version number of package */ +#define VERSION "0.10.0.1" + +/* Name of package */ +#define PACKAGE "gst-plugin-android" diff --git a/sink/surfaceflingersink/gstsurfaceflingersink.c b/sink/surfaceflingersink/gstsurfaceflingersink.c index f6ee971..06cae8c 100644 --- a/sink/surfaceflingersink/gstsurfaceflingersink.c +++ b/sink/surfaceflingersink/gstsurfaceflingersink.c @@ -17,7 +17,7 @@ * Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H -//#include "config.h" +#include "config.h" #endif #include @@ -381,8 +381,7 @@ gst_surfaceflinger_sink_get_type (void) return surfacesink_type; } -/* + GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "surfaceflingersink", "android surface flinger sink", plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/") -*/ -- cgit v1.2.3