Gstreamer Editing Service Set Window Handle

Thibault Saunier tsaunier at gnome.org
Wed Apr 15 21:52:02 UTC 2020


Note that GESPipeline also implements the VideoOverlay interface, have you
tried using it directly?

On Wed, Apr 15, 2020 at 5:49 PM killerrats <koreysjunkmail at gmail.com> wrote:

> --------- 1 -----------
> GstElement* pipeline = GST_ELEMENT(gespipeline);
> GstElement* vSink = gst_bin_get_by_name(GST_BIN(pipeline),"VIDEOSINK");
> GstVideoOverlay* vOverlay = GST_VIDEO_OVERLAY(vSink);
>                 gst_video_overlay_set_window_handle(vOverlay,
> _windows_handle);
>                 gst_object_unref(vOverlay);
>                 gst_object_unref(vSink);
>
> --------- 2 ------------
> GstElement* vSink = ges_pipeline_preview_get_video_sink(gespipeline);
> GstVideoOverlay* vOverlay = GST_VIDEO_OVERLAY(vSink);
>                 gst_video_overlay_set_window_handle(vOverlay,
> _windows_handle);
>                 gst_object_unref(vOverlay);
>                 gst_object_unref(vSink);
>
>
>
>
> -----
> ------------------------------
> Gstreamer 1.14.3
> ------------------------------
> Windows
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200415/57b30d8e/attachment.htm>


More information about the gstreamer-devel mailing list