On 08/09/2012 08:19 AM, forestzhu wrote:
> Hi all,
>
> In a gstreamer program ,I get a widget 's winid/width/height
> and use the "gst_x_overlay_set_xwindow_id" to render the video to the
> widget.
> Because I need to render the video to a region of the widget,
> I try to use the "gst_x_overlay_set_render_rectangle" .
> It runs ok ,but the rest background of the widget appears system-color.
> How can I change it to black?
> Anyone know about this ,please give me hint!
Take a look at gst-plugins-base/tests/icles/test-xoverlay.c
Stefan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel