Changed FakeVp8Encoder to write dimensions in payload.
Add FakeVp8Decoder that parse width and height from the payload. Add unit test for testing that width and height is set when decoding frames. Bug: none Change-Id: Ifbfff4f62f99625309ce0ef21cf89c76448769d8 Reviewed-on: https://webrtc-review.googlesource.com/c/103140 Commit-Queue: Per Kjellander <perkj@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25038}
This commit is contained in:
committed by
Commit Bot
parent
a4de9c8b04
commit
841c912ddd
@ -144,6 +144,12 @@ TEST(SimulcastEncoderAdapterSimulcastTest,
|
||||
fixture->TestSpatioTemporalLayers321PatternEncoder();
|
||||
}
|
||||
|
||||
TEST(SimulcastEncoderAdapterSimulcastTest, TestDecodeWidthHeightSet) {
|
||||
InternalEncoderFactory internal_encoder_factory;
|
||||
auto fixture = CreateSpecificSimulcastTestFixture(&internal_encoder_factory);
|
||||
fixture->TestDecodeWidthHeightSet();
|
||||
}
|
||||
|
||||
class MockVideoEncoder;
|
||||
|
||||
class MockVideoEncoderFactory : public VideoEncoderFactory {
|
||||
|
||||
Reference in New Issue
Block a user