summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-02-20 17:27:18 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-02-24 23:06:30 +0000
commit7d0214d14e1e4770db61f51ee0511c0fafa2bf61 (patch)
tree3854d712978cd09c933f7443570878cf3cea1204
parent3540ffc888996ef07b84bfe5434094d9c84eefd9 (diff)
Don't do high-quality scaling on individual video frames
Each frame of a video needs to be scaled fast, there is not time for high-quality scaling, and doing so will also blow our image scaling cache. Change-Id: Ibdd38ccffa273d0848aedcef19ffb2b4861c08a0 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
-rw-r--r--Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
index 6235ae9be..5007cf86e 100644
--- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
+++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
@@ -446,7 +446,7 @@ void MediaPlayerPrivateGStreamerBase::paint(GraphicsContext* context, const IntR
}
context->drawImage(reinterpret_cast<Image*>(gstImage->image().get()), ColorSpaceSRGB,
- rect, gstImage->rect(), CompositeCopy, DoNotRespectImageOrientation, false);
+ rect, gstImage->rect(), CompositeCopy, DoNotRespectImageOrientation, true);
g_mutex_unlock(m_bufferMutex);
}