diff options
author | miu <miu@chromium.org> | 2015-01-29 17:24:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-30 01:25:07 +0000 |
commit | 7ccf0ef39c36bed75b19ad08a87a0e93c60893ba (patch) | |
tree | 19b275d726c0407d449ea85b5777ff74cbdbd770 /media/cast/cast_testing.gypi | |
parent | b4fd13cb9dca2d60333e6e9211dd5b88b0ca9739 (diff) | |
download | chromium_src-7ccf0ef39c36bed75b19ad08a87a0e93c60893ba.zip chromium_src-7ccf0ef39c36bed75b19ad08a87a0e93c60893ba.tar.gz chromium_src-7ccf0ef39c36bed75b19ad08a87a0e93c60893ba.tar.bz2 |
[Cast] Refactor ExternalVideoEncoder for cleaner/simpler encapsulation.
There was a lot of hopping around between two classes, each class having
code that executes on two threads. This change makes
ExternalVideoEncoder live entirely on the cast MAIN thread, and the VEA
client live entirely on the VEA's own thread. This greatly simplified
the code and improved readability (especially the create/init sequence).
Also added a new FakeVideoEncodeAcceleratorFactory class to provide
common functionality for multiple unit test modules. In a soon-upcoming
change, the video_sender_unittest.cc code will start using it.
BUG=325998, 451277
Review URL: https://codereview.chromium.org/868803007
Cr-Commit-Position: refs/heads/master@{#313852}
Diffstat (limited to 'media/cast/cast_testing.gypi')
-rw-r--r-- | media/cast/cast_testing.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/cast/cast_testing.gypi b/media/cast/cast_testing.gypi index 12199b5..67a0f7d 100644 --- a/media/cast/cast_testing.gypi +++ b/media/cast/cast_testing.gypi @@ -116,6 +116,8 @@ 'sender/audio_sender_unittest.cc', 'sender/congestion_control_unittest.cc', 'sender/external_video_encoder_unittest.cc', + 'sender/fake_video_encode_accelerator_factory.cc', + 'sender/fake_video_encode_accelerator_factory.h', 'sender/video_encoder_impl_unittest.cc', 'sender/video_sender_unittest.cc', 'test/end2end_unittest.cc', |