diff options
author | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 01:15:36 +0000 |
---|---|---|
committer | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 01:15:36 +0000 |
commit | 632feb65e15e2eaafe1885cb188e41339e6b9644 (patch) | |
tree | b547b2bc3aa814fb47db5557334b713b8fc16040 /media/media.gyp | |
parent | c99c5e1a66ff0d00408f94c679bc9cfa59dcfd1f (diff) | |
download | chromium_src-632feb65e15e2eaafe1885cb188e41339e6b9644.zip chromium_src-632feb65e15e2eaafe1885cb188e41339e6b9644.tar.gz chromium_src-632feb65e15e2eaafe1885cb188e41339e6b9644.tar.bz2 |
This change adds VideoDecoderJob::Create() and AudioDecoderJob::Create() so that the decoder jobs can be NULL if we cannot configure it correctly.
It solves a problem that we may pass an invalid surface to the MediaCodec instance during the shut down phase. In this case, the Configure() will return false and we should not use the codec anymore.
BUG=248726
R=acolwell@chromium.org, dwkang@chromium.org, wolenetz@chromium.org
Review URL: https://codereview.chromium.org/16093045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r-- | media/media.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp index 7f25f09..031ab57 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -859,6 +859,7 @@ '../skia/skia.gyp:skia', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', + '../ui/gl/gl.gyp:gl', '../ui/ui.gyp:ui', ], 'sources': [ @@ -890,6 +891,7 @@ 'audio/win/audio_unified_win_unittest.cc', 'audio/win/core_audio_util_win_unittest.cc', 'base/android/media_codec_bridge_unittest.cc', + 'base/android/media_source_player_unittest.cc', 'base/audio_bus_unittest.cc', 'base/audio_converter_unittest.cc', 'base/audio_fifo_unittest.cc', @@ -1501,6 +1503,7 @@ ], 'dependencies': [ '../base/base.gyp:base', + '../url/url.gyp:url_lib', 'media_android_jni_headers', ], 'include_dirs': [ |