Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: content/common/gpu/media/vaapi_h264_decoder.cc

Issue 10909112: Hacks to make HW decode work on linux via libva. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/vaapi_h264_decoder.cc
diff --git a/content/common/gpu/media/vaapi_h264_decoder.cc b/content/common/gpu/media/vaapi_h264_decoder.cc
index 863ea28d68cdeb3c72698f52431902932670ff0b..af35c36cfc08d60ff1caa34c93c0e94e8f66110b 100644
--- a/content/common/gpu/media/vaapi_h264_decoder.cc
+++ b/content/common/gpu/media/vaapi_h264_decoder.cc
@@ -274,6 +274,7 @@ VaapiH264Decoder::DecodeSurface::~DecodeSurface() {
if (x_pixmap_)
XFreePixmap(x_display_, x_pixmap_);
+ XSync(x_display_, False);
Ami GONE FROM CHROMIUM 2012/09/07 10:04:21 Without this, rendering_thread.Stop() in vdatest t
Pawel Osciak 2012/09/07 15:49:13 Could be a driver bug and/or us not being in corre
Ami GONE FROM CHROMIUM 2012/09/12 00:53:10 It must be, or else the failing opcode wouldn't be
}
void VaapiH264Decoder::DecodeSurface::Acquire(int32 input_id, int poc) {

Powered by Google App Engine
This is Rietveld 408576698