From 1924c5ce0c50578ea3fea2ddb986b3d6d18047d0 Mon Sep 17 00:00:00 2001 From: Leif Johnson Date: Tue, 22 Jan 2002 04:43:10 +0000 Subject: Updated passthrough to work with new caps nego stuff. Original commit message from CVS: Updated passthrough to work with new caps nego stuff. --- gst/passthrough/gstpassthrough.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'gst/passthrough/gstpassthrough.h') diff --git a/gst/passthrough/gstpassthrough.h b/gst/passthrough/gstpassthrough.h index d8c2f63e..74c4cf68 100644 --- a/gst/passthrough/gstpassthrough.h +++ b/gst/passthrough/gstpassthrough.h @@ -25,7 +25,6 @@ #include #include -// #include #ifdef __cplusplus @@ -46,7 +45,7 @@ extern "C" { typedef struct _GstPassthrough GstPassthrough; typedef struct _GstPassthroughClass GstPassthroughClass; -typedef enum _GstPassthroughFormat GstPassthroughFormat; +typedef enum _GstPassthroughFormat GstPassthroughFormat; enum _GstPassthroughFormat { GST_PASSTHROUGH_FORMAT_INT, @@ -57,35 +56,28 @@ struct _GstPassthrough { GstElement element; GstPad *sinkpad, *srcpad; + GstBufferPool *bufpool; gboolean silent; /* the next three are valid for both int and float */ GstPassthroughFormat format; - - guint rate; - + guint rate; guint channels; /* the next five are valid only for format==GST_PASSTHROUGH_FORMAT_INT */ guint width; - guint depth; - guint endianness; - guint law; - gboolean is_signed; /* the next three are valid only for format==GST_PASSTHROUGH_FORMAT_FLOAT */ const gchar *layout; - gfloat slope; - gfloat intercept; }; -- cgit v1.2.1