diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo.verdejo@collabora.co.uk> | 2011-04-23 12:05:20 -0400 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo.verdejo@collabora.co.uk> | 2011-04-23 12:05:20 -0400 |
commit | 717d6643708af47cb81d9f212ad8683d29d8d32a (patch) | |
tree | 3be48e4dbfa407e582570049de5012f006bd0296 | |
parent | 9f0a9cf2e52014d0ce9a313e708ed619388b6772 (diff) |
Make gstsurfaceflingersink being correctly plugged
This is a temporary solution to make things work for now until
we come up with a better solution.
-rw-r--r-- | config.h | 8 | ||||
-rw-r--r-- | sink/surfaceflingersink/gstsurfaceflingersink.c | 5 |
2 files changed, 10 insertions, 3 deletions
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 <signal.h> @@ -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/") -*/ |