Was anyone able to use this method successfully under Weston or Gnome shell
or any other compositor on top of Wayland?I had no luck with Weston nor
Gnome shell on x86 nor ARM platform.
I am curious whether this method ever worked for anyone.If not, is there any
workaround how to hide render area where the videos are being renderer? I
partially achieved success with stopping the pipelines, setting GtkWidgets
to invisible and maximizing the clicked GtkEventBox to the size of grid
which possesses all 4 GtkWidgets with videos, it randomly works as I wish,
but sometimes some of the 4 video render areas remain black preventing the
fullscreen video to be fully visible.
I am totally lost with what could be the reason for malfunction of this
method, I tried the reference example in gst-plugin-bad for waylandsink and
hide the main window within this example, no success. I would drop
waylandsink, but glimagesink seems to be too slow on RaspberryPI under
Please, could anyone point me where the problem could be or should I stop
wasting time with plugin which is in plugin-bad or should I stop trying to
achieve anything in Weston?
Should I set out to the journey of compiling up date Wayland and Weston?
It is 1.14.4 stable Gstreamer version so I guess I am the one doing
Or should I drop GTK and try QT instead? Honestly I would rather prefer GTK.
There are hardly no examples on google search, therefore I would really
really like to kindly ask you for your help.
I finally managed to get rid of the error message popping while using
It works only when using playbin and sink waylandsink, If I use pipeline
with videotestsrc, it stops at this method yielding before mentioned errors.
Unfortunately the problem with black sub window (which causes fullscreen
video to be rendered only partially) still remains even though I thought I
cleared all the rendering sub windows clearing the screen for single video
to be rendered full screen (actually "full window" as videos are running in
single GTK window)
I assumed that calling gst_video_overlay_set_render_rectangle() on three
remaining window handles will clear the area unfortunately black rectangle
randomly remains on some of the areas where the other videos where rendered.
I am enclosing the entire button click method with all my attempts to hide
(clear, disable or how should I name it) in comments.
or unref the entire pipelines which video renderings are meant to be hidden
in fullscreen mode:
It works as it is, all the other rendering areas are cleared and the GtkBox
I clicked on resizes to fullscreen and it plays fullscreen without any
disturbing rectangle black rectangle from hidden rendering areas.
By some (for me) unknown mechanism all three unwanted rendering areas are
completely cleared and no random blanking of one of these rendering areas
occur, unfortunately, when I try to return the waylandsink back to the
pipeline and start the pipeline again, it does not work:
g_object_set(d->pipeline1, "video-sink", d->sink1, NULL);
Well, I guess the problem is that the pipeline (probably waylandsink) still
keeps track of the area (dimensions and position) given to the overlay by
allocation.y, allocation.width, allocation.height);
withing the Gtk Window specified to the overlay by method:
I need to force the pipeline or the sink to forget about the rendering area
for the time of clicked video rendering fullscreen, after the first video
returns from fullscreen, I need all the remaining pipelines to revive their
previous rendering areas or I can set it manually once more, but I cannot
force the pipeline (or the sink) to release the rendering area on the
really not intended for clearing the rendering area?
Is there any convenient way how to clear the area without removing the
pipeline or removing the sink from the pipeline? I need all the hidden
overlays to keep the window_handles to possibly restart their rendering in
multi video window.