[gst-devel] embedding sdlvideosink

Steve Baker steve at stevebaker.org
Wed Sep 25 17:10:09 CEST 2002

> > So whenever gst_sdlvideosink_create is called, a new X window is created
> > and SDL is told to use it.
> SDL always uses X, as far as I know... So that shouldn't be a problem.
> You can make the window both on the application side as well as on the
> plugin side... You could just make a gstvideowidget-lookalike and use
> that XID (GDK_WINDOW_XWINDOWID(GdkWindow *window) or so), then you
> wouldn't even have to change sdlvideosink...

I'd rather do it from the plugin side so that any element which has the
need_new_window prop and the have_xid signal will JustWork without any
app-side element-specific code.

BTW does anyone know how to get the xid of an aasink window? ;)


More information about the gstreamer-devel mailing list