GNOME Bugzilla – Bug 782959
glimagesink does not seem to honor gst_video_overlay_set_render_rectangle
Last modified: 2017-07-16 02:51:48 UTC
In pdfpc (a PDF presentation tool that support displaying videos linked into a PDF as overlays), we switched from xvimagesink to glimagesink due to client-side decoration issues with xvimagesink (detail here: https://github.com/pdfpc/pdfpc/issues/197#issuecomment-297718608 ). It appears however that glimagesink does not honor the `set_render_rectangle` ( https://github.com/pdfpc/pdfpc/blob/master/src/classes/action/movie.vala#L318 ): when xvimagesink is used, the video is properly framed and positioned on top of the PDF page. However, when replacing xvimagesink by glimagesink, the video is displayed using the entirety of the parent window, seemingly ignoring set_render_rectangle.
Created attachment 355611 [details] [review] gl/window/x11: implement set_render_rectangle Completely untested. Does this help? :)
It's a step in the right direction commit 1656d8000d2c1988b1170bc671d48f42b0f91f4c Author: Matthew Waters <matthew@centricular.com> Date: Sat Jul 15 01:24:52 2017 +1000 gl/window/x11: implement set_render_rectangle support https://bugzilla.gnome.org/show_bug.cgi?id=782959