summaryrefslogtreecommitdiffstats
path: root/ext/sdl/sdlvideosink.h
diff options
context:
space:
mode:
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;