diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2006-01-27 01:31:12 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2006-01-27 01:31:12 +0000 |
commit | 607d32dd1fb0d74f07a11831c595a73524f87213 (patch) | |
tree | 1df983e25a7c86498b1852dad07e26547c69795b /ext/sdl/sdlvideosink.h | |
parent | d748422b60f691885b3d25a3555e4fc597615e66 (diff) | |
download | gst-plugins-bad-607d32dd1fb0d74f07a11831c595a73524f87213.tar.gz gst-plugins-bad-607d32dd1fb0d74f07a11831c595a73524f87213.tar.bz2 gst-plugins-bad-607d32dd1fb0d74f07a11831c595a73524f87213.zip |
ext/sdl/sdlvideosink.*: Fix output stride copying, so that it displays correctly on framebuffer devices that don't ma...
Original commit message from CVS:
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported),
(gst_sdlvideosink_xoverlay_set_xwindow_id),
(gst_sdlvideosink_deinitsdl), (gst_sdlv_process_events),
(gst_sdlvideosink_event_thread), (gst_sdlvideosink_initsdl),
(gst_sdlvideosink_destroy), (gst_sdlvideosink_create),
(gst_sdlvideosink_setcaps), (gst_sdlvideosink_show_frame),
(gst_sdlvideosink_change_state),
(gst_sdlvideosink_navigation_send_event):
* ext/sdl/sdlvideosink.h:
Fix output stride copying, so that it displays correctly on
framebuffer devices that don't match our implict GStreamer stride
arrangement.
Fix locking things. Offer XOverlay only when SDL is running against
X. Make non-scaled (and ugly) embedding work via X Overlay. It can't
actually match the embedded window size because there's no way to
figure out what size that should be from the XOverlay interface.
See comment in sdlvideosink.c
Diffstat (limited to 'ext/sdl/sdlvideosink.h')
-rw-r--r-- | ext/sdl/sdlvideosink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sdl/sdlvideosink.h b/ext/sdl/sdlvideosink.h index 2a4cabfc..2d52fed2 100644 --- a/ext/sdl/sdlvideosink.h +++ b/ext/sdl/sdlvideosink.h @@ -54,6 +54,7 @@ struct _GstSDLVideoSink { gint width, height; /* the size of the incoming YUV stream */ unsigned long xwindow_id; + gboolean is_xwindows; gint framerate_n; gint framerate_d; |