From 3844a3af2066326a1d956d42bd55a974ae2f3d59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 4 Mar 2007 20:35:26 +0000 Subject: [PATCH] ext/nas/: Bunch of nassink clean-ups: make build by adding the right CFLAGS and LIBS to Makefile.am; rename structure... Original commit message from CVS: * ext/nas/Makefile.am: * ext/nas/README: * ext/nas/nassink.c: (gst_nas_sink_get_type), (gst_nas_sink_base_init), (gst_nas_sink_class_init), (gst_nas_sink_init), (gst_nas_sink_finalize), (gst_nas_sink_getcaps), (gst_nas_sink_prepare), (gst_nas_sink_unprepare), (gst_nas_sink_delay), (gst_nas_sink_reset), (gst_nas_sink_write), (gst_nas_sink_set_property), (gst_nas_sink_get_property), (gst_nas_sink_open), (gst_nas_sink_close), (NAS_flush), (NAS_sendData), (NAS_EventHandler), (gst_nas_sink_sink_get_format), (NAS_createFlow), (plugin_init): * ext/nas/nassink.h: Bunch of nassink clean-ups: make build by adding the right CFLAGS and LIBS to Makefile.am; rename structure, macros and functions according to canonical naming scheme; move some things around a bit; use GST_CAT_DEFAULT instead of GST_CAT_* everywhere; remove README file that didn't really contain any useful information anyway (the useful bits have been moved into the 'host' property description). --- ChangeLog | 22 ++++ ext/nas/Makefile.am | 7 +- ext/nas/README | 8 -- ext/nas/nassink.c | 300 +++++++++++++++++++++++++--------------------------- ext/nas/nassink.h | 54 ++++------ 5 files changed, 195 insertions(+), 196 deletions(-) delete mode 100644 ext/nas/README diff --git a/ChangeLog b/ChangeLog index bd9ed81..fe73a66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +2007-03-04 Tim-Philipp Müller + + * ext/nas/Makefile.am: + * ext/nas/README: + * ext/nas/nassink.c: (gst_nas_sink_get_type), + (gst_nas_sink_base_init), (gst_nas_sink_class_init), + (gst_nas_sink_init), (gst_nas_sink_finalize), + (gst_nas_sink_getcaps), (gst_nas_sink_prepare), + (gst_nas_sink_unprepare), (gst_nas_sink_delay), + (gst_nas_sink_reset), (gst_nas_sink_write), + (gst_nas_sink_set_property), (gst_nas_sink_get_property), + (gst_nas_sink_open), (gst_nas_sink_close), (NAS_flush), + (NAS_sendData), (NAS_EventHandler), (gst_nas_sink_sink_get_format), + (NAS_createFlow), (plugin_init): + * ext/nas/nassink.h: + Bunch of nassink clean-ups: make build by adding the right CFLAGS + and LIBS to Makefile.am; rename structure, macros and functions + according to canonical naming scheme; move some things around a bit; + use GST_CAT_DEFAULT instead of GST_CAT_* everywhere; remove README + file that didn't really contain any useful information anyway (the + useful bits have been moved into the 'host' property description). + 2007-03-04 Jan Schmidt * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_finalize): diff --git a/ext/nas/Makefile.am b/ext/nas/Makefile.am index d9fe3cb..82d1e9b 100644 --- a/ext/nas/Makefile.am +++ b/ext/nas/Makefile.am @@ -1,9 +1,10 @@ plugin_LTLIBRARIES = libgstnassink.la libgstnassink_la_SOURCES = nassink.c -libgstnassink_la_CFLAGS = $(GST_CFLAGS) $(NAS_CFLAGS) -libgstnassink_la_LIBADD = $(NAS_LIBS) +libgstnassink_la_CFLAGS = \ + $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(NAS_CFLAGS) +libgstnassink_la_LIBADD = \ + $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(NAS_LIBS) libgstnassink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = nassink.h -EXTRA_DIST = README diff --git a/ext/nas/README b/ext/nas/README deleted file mode 100644 index 34b563c..0000000 --- a/ext/nas/README +++ /dev/null @@ -1,8 +0,0 @@ -The nassink plugin -================== - -The nassink plugin is for outputting an audio stream to a Network Audio Server (NCD X/Terminal) - -nassink has arguments that it accepts: - - 'mute' (boolean value) - - 'host' (name of X/Terminal, default is $AUDIOSERVER or $DISPLAY) diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index cd202dc..e2f4454 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -24,6 +24,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif + #include #include #include