summaryrefslogtreecommitdiffstats
path: root/gst/passthrough/gstpassthrough.h
diff options
context:
space:
mode:
authorLeif Johnson <leif@ambient.2y.net>2002-01-22 04:43:10 +0000
committerLeif Johnson <leif@ambient.2y.net>2002-01-22 04:43:10 +0000
commit1924c5ce0c50578ea3fea2ddb986b3d6d18047d0 (patch)
tree073978ea8d683d6e14f41b2a929057e5be5f0964 /gst/passthrough/gstpassthrough.h
parent77c65b62bf9aab7d50b09fa4fd7ceeab0acd9e5c (diff)
downloadgst-plugins-bad-1924c5ce0c50578ea3fea2ddb986b3d6d18047d0.tar.gz
gst-plugins-bad-1924c5ce0c50578ea3fea2ddb986b3d6d18047d0.tar.bz2
gst-plugins-bad-1924c5ce0c50578ea3fea2ddb986b3d6d18047d0.zip
Updated passthrough to work with new caps nego stuff.
Original commit message from CVS: Updated passthrough to work with new caps nego stuff.
Diffstat (limited to 'gst/passthrough/gstpassthrough.h')
-rw-r--r--gst/passthrough/gstpassthrough.h14
1 files changed, 3 insertions, 11 deletions
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 <config.h>
#include <gst/gst.h>
-// #include <gst/meta/audioraw.h>
#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;
};