diff options
author | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-13 23:38:50 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-13 23:38:50 +0000 |
commit | 533d1fea902c8f634ae95fc32d87adea97a451ac (patch) | |
tree | 5250ad1c33c4f2e3a0c0c5d87d8bbca395b76156 /content/common/gpu/media/vaapi_h264_decoder.cc | |
parent | dc43af1d6c7d0cd2b5ee720595720876e243a613 (diff) | |
download | chromium_src-533d1fea902c8f634ae95fc32d87adea97a451ac.zip chromium_src-533d1fea902c8f634ae95fc32d87adea97a451ac.tar.gz chromium_src-533d1fea902c8f634ae95fc32d87adea97a451ac.tar.bz2 |
Hacks to make HW decode work on linux via libva.
This still requires telling gyp chromeos=1 but with this (and a couple
of upstream vdpau-driver hacks) both chrome &
video_decode_accelerator_unittest work well on my lucid laptop (NVIDIA
graphics libva wrapping vdpau-driver).
BUG=137247
Review URL: https://chromiumcodereview.appspot.com/10909112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/media/vaapi_h264_decoder.cc')
-rw-r--r-- | content/common/gpu/media/vaapi_h264_decoder.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/gpu/media/vaapi_h264_decoder.cc b/content/common/gpu/media/vaapi_h264_decoder.cc index 863ea28..d1a911d4 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); // Needed to work around buggy vdpau-driver. } void VaapiH264Decoder::DecodeSurface::Acquire(int32 input_id, int poc) { |