summaryrefslogtreecommitdiffstats
path: root/gst/speed/gstspeed.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-02-10 15:06:13 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-02-10 15:06:13 +0000
commit909da9fb0489c3744547e6386531461c072da5fc (patch)
treef0cca5239d10580fa9d6840f3d9fa03da0ad31c9 /gst/speed/gstspeed.h
parentd7af68b7c8447e1b444e98ca1cb4a5f917a4b5b3 (diff)
downloadgst-plugins-bad-909da9fb0489c3744547e6386531461c072da5fc.tar.gz
gst-plugins-bad-909da9fb0489c3744547e6386531461c072da5fc.tar.bz2
gst-plugins-bad-909da9fb0489c3744547e6386531461c072da5fc.zip
and make it handle more than one channel.
Original commit message from CVS: Fix speed element and make it chain-based (fixes #156467), and make it handle more than one channel.
Diffstat (limited to 'gst/speed/gstspeed.h')
-rw-r--r--gst/speed/gstspeed.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/gst/speed/gstspeed.h b/gst/speed/gstspeed.h
index 2bbb0e6c..7c2ba2a5 100644
--- a/gst/speed/gstspeed.h
+++ b/gst/speed/gstspeed.h
@@ -47,23 +47,23 @@ enum _GstSpeedFormat {
};
struct _GstSpeed {
- GstElement element;
+ GstElement element;
- GstPad *sinkpad, *srcpad;
+ GstPad *sinkpad;
+ GstPad *srcpad;
- gfloat speed;
+ gfloat speed;
- /* valid for both int and float */
+ gint64 offset;
+ gint64 timestamp;
+
+ guint rate;
+ guint channels;
+ guint width;
+ guint buffer_frames;
+
+ guint sample_size;
GstSpeedFormat format;
- guint rate;
- guint channels;
- guint width;
- guint endianness;
- guint buffer_frames;
-
- /* valid only for format==GST_SPEED_FORMAT_INT */
- guint depth;
- gboolean is_signed;
};
struct _GstSpeedClass {