summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 08:20:29 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 08:20:29 +0000
commited37e737534242e898dd82ef61cfdca2430181bc (patch)
tree1b9cb19f9d7726ff1696276c02e4822fb13937a9 /chrome
parent0a733433bdd706d5616108934891bc8bf1561d10 (diff)
downloadchromium_src-ed37e737534242e898dd82ef61cfdca2430181bc.zip
chromium_src-ed37e737534242e898dd82ef61cfdca2430181bc.tar.gz
chromium_src-ed37e737534242e898dd82ef61cfdca2430181bc.tar.bz2
Remove the usage of MFT related objects so they don't get linked.
Linking against MFT seems to create a runtime problem for XP. TBR=scherkus BUG=None TEST=None Review URL: http://codereview.chromium.org/3548021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/gpu/gpu_video_decoder.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/gpu/gpu_video_decoder.cc b/chrome/gpu/gpu_video_decoder.cc
index 466e85b..6c90df5 100644
--- a/chrome/gpu/gpu_video_decoder.cc
+++ b/chrome/gpu/gpu_video_decoder.cc
@@ -240,8 +240,10 @@ GpuVideoDecoder::GpuVideoDecoder(
#if defined(OS_WIN)
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kEnableAcceleratedDecoding)) {
- decode_engine_.reset(new media::MftH264DecodeEngine(true));
- video_device_.reset(new MftAngleVideoDevice());
+ // The following code are removed so that we don't link them.
+ // TODO(hclam): Enable the code once the crash is solved on XP.
+ // decode_engine_.reset(new media::MftH264DecodeEngine(true));
+ // video_device_.reset(new MftAngleVideoDevice());
}
#else
decode_engine_.reset(new FakeGlVideoDecodeEngine());