How to use "gst_x_overlay_set_render_rectangle" to render ?

Stefan Sauer ensonic at hora-obscura.de
Mon Aug 13 15:13:44 PDT 2012


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

>
> Thank your in advance!
>
> forest
> Aug 9
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-use-gst-x-overlay-set-render-rectangle-to-render-tp4655890.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list