diff options
author | miu <miu@chromium.org> | 2015-02-10 19:28:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-11 03:29:24 +0000 |
commit | 9005303cba2d9ab58dd4439295695a93c8801e96 (patch) | |
tree | b628b54da9f7f4c820b3543140c4ab3a5e0262f1 /media/cast/cast_testing.gypi | |
parent | e1ee70db0efad38817a6aa7027b2d1cfafe3af82 (diff) | |
download | chromium_src-9005303cba2d9ab58dd4439295695a93c8801e96.zip chromium_src-9005303cba2d9ab58dd4439295695a93c8801e96.tar.gz chromium_src-9005303cba2d9ab58dd4439295695a93c8801e96.tar.bz2 |
[Cast] Size-Adaptable platform video encoders.
Provides a proxy VideoEncoder implementation that wraps
ExternalVideoEncoder or H264VTEncoder to handle frame size changes.
When the frame size changes, the proxy 1) waits for current encoder
instance to finish encoding any frames in-progress, then 2) destroys the
encoder, and 3) finally re-creates/initializes a new encoder instance.
During this process, frames provided via InsertRawVideoFrame() are
simply dropped.
Merged external_encoder_unittest.cc and video_encoder_impl_unittest.cc
into a single video_encoder_unittest.cc that tests *all* cast
VideoEncoder implementations. Made a number of fixes to allow testing
of the H264VTEncoder on desktop Macs and the trybots.
BUG=451277
Review URL: https://codereview.chromium.org/906403006
Cr-Commit-Position: refs/heads/master@{#315723}
Diffstat (limited to 'media/cast/cast_testing.gypi')
-rw-r--r-- | media/cast/cast_testing.gypi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/cast/cast_testing.gypi b/media/cast/cast_testing.gypi index 67a0f7d..22a2182 100644 --- a/media/cast/cast_testing.gypi +++ b/media/cast/cast_testing.gypi @@ -115,10 +115,9 @@ 'sender/audio_encoder_unittest.cc', '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_encoder_unittest.cc', 'sender/video_sender_unittest.cc', 'test/end2end_unittest.cc', 'test/fake_receiver_time_offset_estimator.cc', |