summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authorimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 18:54:33 +0000
committerimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 18:54:33 +0000
commitf9740c9ab66b3edaa4f7710d3636017ce14d88d6 (patch)
treeab9f6dc7c5dd2ddf28d1361de829f5d6ed563a8c /media/media.gyp
parent407ae6f4b072612d00af8e6e79a3f64406b04029 (diff)
downloadchromium_src-f9740c9ab66b3edaa4f7710d3636017ce14d88d6.zip
chromium_src-f9740c9ab66b3edaa4f7710d3636017ce14d88d6.tar.gz
chromium_src-f9740c9ab66b3edaa4f7710d3636017ce14d88d6.tar.bz2
This tool demonstrates the use of the Media Foundation H.264 decoder as a standalone Media Foundation Transform (MFT).
TEST=none BUGS=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp24
1 files changed, 24 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index dd5f189..a80fbd2 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -416,6 +416,30 @@
},
},
},
+ {
+ 'target_name': 'mft_h264_decoder',
+ 'type': 'executable',
+ 'dependencies': [
+ 'media',
+ '../base/base.gyp:base',
+ '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'media_foundation/main.cc',
+ 'media_foundation/h264mft.cc',
+ 'media_foundation/h264mft.h',
+ 'media_foundation/file_reader_util.cc',
+ 'media_foundation/mf_file_reader_util.h',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
+ },
+ },
+ },
],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {