diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-10-28 15:11:18 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-10-28 15:11:18 +0000 |
commit | a8ef411492acbf114cc7282369c6ad34de4e7dc3 (patch) | |
tree | f565993dedaecfa320e26889198e84a548019f19 /ext/sdl/sdlvideosink.h | |
parent | 64997b7f510a22cec0c14a1ab729111a3485267f (diff) | |
download | gst-plugins-bad-a8ef411492acbf114cc7282369c6ad34de4e7dc3.tar.gz gst-plugins-bad-a8ef411492acbf114cc7282369c6ad34de4e7dc3.tar.bz2 gst-plugins-bad-a8ef411492acbf114cc7282369c6ad34de4e7dc3.zip |
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.
Diffstat (limited to 'ext/sdl/sdlvideosink.h')
-rw-r--r-- | ext/sdl/sdlvideosink.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |