From a8ef411492acbf114cc7282369c6ad34de4e7dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 28 Oct 2005 15:11:18 +0000 Subject: ext/sdl/sdlvideosink.*: Fix I420 output on some machines (not very nice, but should work). Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init), (gst_sdlvideosink_class_init), (gst_sdlvideosink_get_sdl_from_fourcc), (gst_sdlvideosink_setcaps), (gst_sdlvideosink_show_frame): * ext/sdl/sdlvideosink.h: Fix I420 output on some machines (not very nice, but should work). Add an 'sdlvideosink' debug category. Disable formats that do not work. Fix some vararg function issues. --- ext/sdl/sdlvideosink.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/sdl/sdlvideosink.h') diff --git a/ext/sdl/sdlvideosink.h b/ext/sdl/sdlvideosink.h index eaf0e9ee..5e3984b5 100644 --- a/ext/sdl/sdlvideosink.h +++ b/ext/sdl/sdlvideosink.h @@ -49,7 +49,9 @@ typedef struct _GstSDLVideoSinkClass GstSDLVideoSinkClass; struct _GstSDLVideoSink { GstVideoSink videosink; - guint32 format; + 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; -- cgit v1.2.1