diff options
author | Julien Moutte <julien@moutte.net> | 2003-11-17 16:29:38 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2003-11-17 16:29:38 +0000 |
commit | 4653e156539b8bac4797c394d763c193bacfb03d (patch) | |
tree | f831ae77a6524b7d69e487813608adc6bf514fc8 /gst-libs/gst/xoverlay/xoverlay.h | |
parent | 21d8a397eb43aedde43e6a567d3865d174b98e1b (diff) | |
download | gst-plugins-bad-4653e156539b8bac4797c394d763c193bacfb03d.tar.gz gst-plugins-bad-4653e156539b8bac4797c394d763c193bacfb03d.tar.bz2 gst-plugins-bad-4653e156539b8bac4797c394d763c193bacfb03d.zip |
Merged GstVideoOverlay features here.
Original commit message from CVS:
Merged GstVideoOverlay features here.
Diffstat (limited to 'gst-libs/gst/xoverlay/xoverlay.h')
-rw-r--r-- | gst-libs/gst/xoverlay/xoverlay.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gst-libs/gst/xoverlay/xoverlay.h b/gst-libs/gst/xoverlay/xoverlay.h index 15258765..1f8c9f39 100644 --- a/gst-libs/gst/xoverlay/xoverlay.h +++ b/gst-libs/gst/xoverlay/xoverlay.h @@ -1,5 +1,6 @@ /* GStreamer X-based Overlay * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net> + * Copyright (C) 2003 Julien Moutte <julien@moutte.net> * * x-overlay.h: X-based overlay interface design * @@ -48,13 +49,23 @@ typedef struct _GstXOverlayClass { /* virtual functions */ void (* set_xwindow_id) (GstXOverlay *overlay, XID xwindow_id); + + /* signals */ + void (*have_xwindow_id) (GstXOverlay *overlay, + XID xwindow_id); + void (*have_size) (GstXOverlay *overlay, gint width, gint height); + } GstXOverlayClass; GType gst_x_overlay_get_type (void); /* virtual class function wrappers */ -void gst_x_overlay_set_xwindow_id (GstXOverlay *overlay, - XID xwindow_id); +void gst_x_overlay_set_xwindow_id (GstXOverlay *overlay, XID xwindow_id); + +/* public methods to fire signals */ +void gst_x_overlay_got_xwindow_id (GstXOverlay *overlay, XID xwindow_id); +void gst_x_overlay_got_video_size (GstXOverlay *overlay, + gint width, gint height); G_END_DECLS |