From 5b283c92b6fffdd28b4a113c07e2f6afd752b23d Mon Sep 17 00:00:00 2001 From: Leif Johnson Date: Sun, 16 Nov 2003 22:02:23 +0000 Subject: + checking in plugin category changes Original commit message from CVS: + checking in plugin category changes --- gst/passthrough/gstpassthrough.c | 2 +- gst/passthrough/gstpassthrough.h | 16 ++++------------ 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'gst/passthrough') diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index 351a3426..9942a758 100644 --- a/gst/passthrough/gstpassthrough.c +++ b/gst/passthrough/gstpassthrough.c @@ -32,7 +32,7 @@ /* elementfactory information */ static GstElementDetails passthrough_details = { "Passthrough", - "Filter/Audio/Effect", + "Filter/Effect/Audio", "Transparent filter for audio/raw (boilerplate for effects)", "Thomas , "\ "Andy Wingo " diff --git a/gst/passthrough/gstpassthrough.h b/gst/passthrough/gstpassthrough.h index fd4c2445..7d0119b2 100644 --- a/gst/passthrough/gstpassthrough.h +++ b/gst/passthrough/gstpassthrough.h @@ -22,14 +22,9 @@ #ifndef __GST_PASSTHROUGH_H__ #define __GST_PASSTHROUGH_H__ - #include - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS #define GST_TYPE_PASSTHROUGH \ (gst_passthrough_get_type()) @@ -65,11 +60,11 @@ struct _GstPassthrough { guint channels; guint width; guint endianness; + guint buffer_size; - /* the next are valid only for format==GST_PASSTHROUGH_FORMAT_INT */ + /* the next are valid only for int formats */ guint depth; gboolean is_signed; - }; struct _GstPassthroughClass { @@ -78,9 +73,6 @@ struct _GstPassthroughClass { GType gst_passthrough_get_type(void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_PASSTHROUGH_H__ */ -- cgit v1.2.1