[Libreoffice-commits] core.git: avmedia/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Feb 19 10:19:06 UTC 2019
avmedia/source/gstreamer/gstplayer.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit abd6f2a38506f512d4846cf43a9fc9576d96ceb3
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Feb 19 10:18:16 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Feb 19 10:18:16 2019 +0000
gst 0.10 doesn't have gst_video_overlay_set_render_rectangle
Change-Id: I499e32ce86fabd18c52ac2f99713af0933572f7c
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index 581e40dd8d37..8469fd7544ff 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -489,9 +489,10 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
if ( mnWindowID != 0 )
{
gst_video_overlay_set_window_handle( mpXOverlay, mnWindowID );
-
+#ifndef AVMEDIA_GST_0_10
if (maArea.Width > 0 && maArea.Height > 0)
gst_video_overlay_set_render_rectangle(mpXOverlay, maArea.X, maArea.Y, maArea.Width, maArea.Height);
+#endif
}
return GST_BUS_DROP;
More information about the Libreoffice-commits
mailing list