summaryrefslogtreecommitdiffstats
path: root/ext/sdl/sdlvideosink.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-01-10 09:58:15 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-01-10 09:58:15 +0000
commit37cd2f7a260502bbf72060165cff06358afc1c95 (patch)
tree48854fd89477e19726631b40660661b131ef8831 /ext/sdl/sdlvideosink.h
parent6ad1458f0a28d8d94606ac056566d33de3f5c558 (diff)
downloadgst-plugins-bad-37cd2f7a260502bbf72060165cff06358afc1c95.tar.gz
gst-plugins-bad-37cd2f7a260502bbf72060165cff06358afc1c95.tar.bz2
gst-plugins-bad-37cd2f7a260502bbf72060165cff06358afc1c95.zip
Added support for user-specified width and height with YUV-scaling, added support for embedded SDL-windows in other X...
Original commit message from CVS: Added support for user-specified width and height with YUV-scaling, added support for embedded SDL-windows in other Xwindows, added support for some more YUV types as input
Diffstat (limited to 'ext/sdl/sdlvideosink.h')
-rw-r--r--ext/sdl/sdlvideosink.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/sdl/sdlvideosink.h b/ext/sdl/sdlvideosink.h
index 2fe00344..15d63544 100644
--- a/ext/sdl/sdlvideosink.h
+++ b/ext/sdl/sdlvideosink.h
@@ -56,13 +56,17 @@ struct _GstSDLVideoSink {
GstPad *sinkpad;
gulong format;
- gint width, height;
+ gint window_width, window_height; /* the size of the SDL window */
+ gint image_width, image_height; /* the size of the incoming YUV stream */
+ gint window_id;
gint frames_displayed;
guint64 frame_time;
GstClock *clock;
+ GstCaps *capslist;
+
unsigned char *yuv[3];
SDL_Surface *screen;
SDL_Overlay *yuv_overlay;