summaryrefslogtreecommitdiffstats
path: root/ext/libcaca/gstcacasink.h
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2005-05-08 12:22:04 +0000
committerZeeshan Ali <zeenix@gmail.com>2005-05-08 12:22:04 +0000
commit5db05091967c83ffbc8f269f8074007682c6131c (patch)
tree43a64bc701f54a4c25befbc8ef685f65ce699b59 /ext/libcaca/gstcacasink.h
parentc6892a450f8fd10d15138d25534665aafa95a42e (diff)
Ported the libcaca plugin.
Original commit message from CVS: Ported the libcaca plugin.
Diffstat (limited to 'ext/libcaca/gstcacasink.h')
-rw-r--r--ext/libcaca/gstcacasink.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/libcaca/gstcacasink.h b/ext/libcaca/gstcacasink.h
index c253eaca..571e2094 100644
--- a/ext/libcaca/gstcacasink.h
+++ b/ext/libcaca/gstcacasink.h
@@ -22,7 +22,7 @@
#define __GST_CACASINK_H__
#include <gst/gst.h>
-#include <gst/video/videosink.h>
+#include <gst/base/gstbasesink.h>
#include <gst/video/video.h>
#include <caca.h>
@@ -63,11 +63,12 @@ typedef struct _GstCACASink GstCACASink;
typedef struct _GstCACASinkClass GstCACASinkClass;
struct _GstCACASink {
- GstVideoSink videosink;
+ GstBaseSink parent;
GstPad *sinkpad;
gulong format;
+ gint width, height;
gint screen_width, screen_height;
guint bpp;
guint dither;
@@ -78,7 +79,7 @@ struct _GstCACASink {
};
struct _GstCACASinkClass {
- GstVideoSinkClass parent_class;
+ GstBaseSinkClass parent_class;
/* signals */
};