[gst-devel] sdlvideosink structure

Edgard Lima edgard.lima at indt.org.br
Tue Jun 6 15:20:09 CEST 2006


try the code attached code is attached

unfortunatelly sdlvideosink (I have to try fix that) still doens't work 
100% fine  :-(

you can see how it works with 100% with ximagesink and xvimagesink 
insteadof sdlvideosink

video_sink = gst_element_factory_make("sdlvideosink", NULL);

gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(video_sink, 
GDK_WINDOW_XWINDOW(widgetGst->window));

http://gstreamer.freedesktop.org/media/large/matrix.avi

compile with

gcc  -Wall `pkg-config --cflags --libs gstreamer-plugins-base-0.10` 
`pkg-config --cflags --libs gstreamer-0.10` `pkg-config --cflags --libs 
gstreamer-base-0.10`  `pkg-config --cflags --libs gtk+-2.0` 
/home/edlima/Projects/gstreamer/v0010/alex/gst-plugins-base-0.10.0/gst-libs/gst/interfaces/xoverlay.c 
seek.c

btw: code is ugly but you can see how some things work.

BR,
Edgard




ext Corentin BARON wrote:

> Hello,
>
> Does anyone know how I could get a pointer to the SDL_Overlay stuff  
> in the sdlvideosink? That would be very useful.
>
> Thx,
> Corentin.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>gstreamer-devel mailing list
>gstreamer-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: babytux.png
Type: image/png
Size: 13098 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060606/8ad09545/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seek.c
Type: text/x-csrc
Size: 10888 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060606/8ad09545/attachment.c>


More information about the gstreamer-devel mailing list