summaryrefslogtreecommitdiffstats
path: root/gst/valve/gstvalve.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-08-20 14:11:02 -0400
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:59 +0100
commit907a660cdc31a3e3bb4ad6d9af2179fa305c6028 (patch)
tree8051978bcf5d6578fe6af17ee99d3aa504218589 /gst/valve/gstvalve.h
parente97d7d9b04727c2b93130dcc73df81b324eb5527 (diff)
downloadgst-plugins-bad-907a660cdc31a3e3bb4ad6d9af2179fa305c6028.tar.gz
gst-plugins-bad-907a660cdc31a3e3bb4ad6d9af2179fa305c6028.tar.bz2
gst-plugins-bad-907a660cdc31a3e3bb4ad6d9af2179fa305c6028.zip
[MOVED FROM GST-P-FARSIGHT] Rebase valve onto gstelement instead of basetransform
Diffstat (limited to 'gst/valve/gstvalve.h')
-rw-r--r--gst/valve/gstvalve.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/valve/gstvalve.h b/gst/valve/gstvalve.h
index 8d0c1400..a0a09d81 100644
--- a/gst/valve/gstvalve.h
+++ b/gst/valve/gstvalve.h
@@ -26,7 +26,6 @@
#define __GST_VALVE_H__
#include <gst/gst.h>
-#include <gst/base/gstbasetransform.h>
G_BEGIN_DECLS
@@ -50,7 +49,7 @@ typedef struct _GstValvePrivate GstValvePrivate;
struct _GstValve
{
- GstBaseTransform parent;
+ GstElement parent;
/* Protected by the object lock */
gboolean drop;
@@ -58,7 +57,8 @@ struct _GstValve
/* Protected by the stream lock*/
gboolean discont;
- GstPadBufferAllocFunction original_allocfunc;
+ GstPad *srcpad;
+ GstPad *sinkpad;
/*< private > */
gpointer _gst_reserved[GST_PADDING];
@@ -66,7 +66,7 @@ struct _GstValve
struct _GstValveClass
{
- GstBaseTransformClass parent_class;
+ GstElementClass parent_class;
/*< private > */
gpointer _gst_reserved[GST_PADDING];