summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/qt/qtitem.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc
index e042b2f42..4ac349ea0 100644
--- a/ext/qt/qtitem.cc
+++ b/ext/qt/qtitem.cc
@@ -308,15 +308,15 @@ QtGLVideoItem::fitStreamToAllocatedSize(GstVideoRectangle * result)
dst.x = 0;
dst.y = 0;
- dst.w = size().width();
- dst.h = size().height();
+ dst.w = width();
+ dst.h = height();
gst_video_sink_center_rect (src, dst, result, TRUE);
} else {
result->x = 0;
result->y = 0;
- result->w = size().width();
- result->h = size().height();
+ result->w = width();
+ result->h = height();
}
}