summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authortimav <timav@chromium.org>2015-06-12 17:14:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-13 00:14:40 +0000
commit3edc8c797947611b45dc30a9d5a34a6d467a43e6 (patch)
tree1ec27731888f79f220ac7d8d3d8b582b11724611 /media/media.gyp
parent4f079c666b87c9d4f0ecaa03a769f661481c98f3 (diff)
downloadchromium_src-3edc8c797947611b45dc30a9d5a34a6d467a43e6.zip
chromium_src-3edc8c797947611b45dc30a9d5a34a6d467a43e6.tar.gz
chromium_src-3edc8c797947611b45dc30a9d5a34a6d467a43e6.tar.bz2
Access unit queue for MediaCodecPlayer
This is a prerequisite for MediaCodecPlayer (to be committed later). The queue keeps access units that come from demuxer and makes them available for the decoder. After consumption the unit at the front is not removed immediately, providing some history to search back for a key frame. The queue is thread safe. For discussion see https://codereview.chromium.org/1128383003/ BUG=407577 Review URL: https://codereview.chromium.org/1162203009 Cr-Commit-Position: refs/heads/master@{#334294}
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index 8580aeb..60a9bb1 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1105,6 +1105,7 @@
'../url/url.gyp:url_lib',
],
'sources': [
+ 'base/android/access_unit_queue_unittest.cc',
'base/android/media_codec_bridge_unittest.cc',
'base/android/media_drm_bridge_unittest.cc',
'base/android/media_source_player_unittest.cc',
@@ -1708,6 +1709,8 @@
'target_name': 'player_android',
'type': 'static_library',
'sources': [
+ 'base/android/access_unit_queue.cc',
+ 'base/android/access_unit_queue.h',
'base/android/audio_decoder_job.cc',
'base/android/audio_decoder_job.h',
'base/android/browser_cdm_factory_android.cc',