summaryrefslogtreecommitdiffstats
path: root/gst/goom/gstgoom.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-05-31 16:23:54 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-05-31 16:23:54 +0000
commitcfbd9520038b417a0d7b4e7b679da72104fd4039 (patch)
tree87097d2ece8b2023ed4e8f4d678ef3b1e1ebb352 /gst/goom/gstgoom.h
parente3d8e2e28c131c3249a6cf58e38a75f284f089a0 (diff)
gst/goom/gstgoom.*: Handle QoS.
Original commit message from CVS: * gst/goom/gstgoom.c: (gst_goom_class_init), (gst_goom_init), (gst_goom_finalize), (gst_goom_reset), (gst_goom_sink_setcaps), (gst_goom_src_setcaps), (gst_goom_src_event), (gst_goom_sink_event), (get_buffer), (gst_goom_chain), (gst_goom_change_state): * gst/goom/gstgoom.h: Handle QoS. Handle flushing, discont and events. Fix timestamps and various other cleanups.
Diffstat (limited to 'gst/goom/gstgoom.h')
-rw-r--r--gst/goom/gstgoom.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/gst/goom/gstgoom.h b/gst/goom/gstgoom.h
index 8ecdde87..bc54f63f 100644
--- a/gst/goom/gstgoom.h
+++ b/gst/goom/gstgoom.h
@@ -46,23 +46,34 @@ struct _GstGoom
GstAdapter *adapter;
/* input tracking */
- gint sample_rate;
-
- gint16 datain[2][GOOM_SAMPLES];
- /* the timestamp of the next frame */
- GstClockTime audio_basetime;
- guint64 samples_consumed;
+ gint rate;
+ gint channels;
+ guint bps;
/* video state */
gint fps_n;
gint fps_d;
gint width;
gint height;
- gint channels;
+ GstClockTime duration;
+ guint outsize;
- gboolean disposed;
+ /* samples per frame */
+ guint spf;
+ /* goom stuff */
+ gint16 datain[2][GOOM_SAMPLES];
GoomData goomdata;
+
+ /* segment state */
+ GstSegment segment;
+
+ /* the timestamp of the next frame */
+ GstClockTime next_ts;
+
+ /* QoS stuff *//* with LOCK */
+ gdouble proportion;
+ GstClockTime earliest_time;
};
struct _GstGoomClass