| Top |
GstSDLVideoSink implements GstImplementsInterface, GstXOverlay and GstNavigation.
struct GstSDLVideoSink {
GstVideoSink videosink;
guint32 format; /* the SDL format */
guint32 fourcc; /* our fourcc from the caps */
gint width, height; /* the size of the incoming YUV stream */
unsigned long xwindow_id;
gboolean is_xwindows;
gint framerate_n;
gint framerate_d;
gboolean full_screen;
gboolean init;
gboolean running;
GThread *event_thread;
SDL_Surface *screen;
SDL_Overlay *overlay;
SDL_Rect rect;
GMutex *lock;
};