Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: talk/media/webrtc/webrtcvideoengine2_unittest.cc

Issue 1306813009: H.264 video codec support using OpenH264/FFmpeg (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: H264EncoderImpl: Reallocating EncodedImage buffer if necessary Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/webrtc/webrtcvideoengine2_unittest.cc
diff --git a/talk/media/webrtc/webrtcvideoengine2_unittest.cc b/talk/media/webrtc/webrtcvideoengine2_unittest.cc
index e488ad70ad7ed789fad8d3b6ee8db4c8019200f2..587bbd7fded7b63a7fa2f00ab650a5adce80f310 100644
--- a/talk/media/webrtc/webrtcvideoengine2_unittest.cc
+++ b/talk/media/webrtc/webrtcvideoengine2_unittest.cc
@@ -670,7 +670,8 @@ TEST_F(WebRtcVideoEngine2Test, SimulcastDisabledForH264) {
// Test external codec with be added to the end of the supported codec list.
TEST_F(WebRtcVideoEngine2Test, ReportSupportedExternalCodecs) {
cricket::FakeWebRtcVideoEncoderFactory encoder_factory;
- encoder_factory.AddSupportedVideoCodecType(webrtc::kVideoCodecH264, "H264");
+ encoder_factory.AddSupportedVideoCodecType(webrtc::kVideoCodecUnknown,
+ "FakeExternalCodec");
engine_.SetExternalEncoderFactory(&encoder_factory);
engine_.Init();
@@ -681,7 +682,7 @@ TEST_F(WebRtcVideoEngine2Test, ReportSupportedExternalCodecs) {
// The external codec will appear at last.
EXPECT_EQ("VP8", internal_codec.name);
- EXPECT_EQ("H264", external_codec.name);
+ EXPECT_EQ("FakeExternalCodec", external_codec.name);
hbos 2015/09/15 15:25:34 (This test was assuming H264 was not an "internal"
}
TEST_F(WebRtcVideoEngine2Test, RegisterExternalDecodersIfSupported) {
« no previous file with comments | « no previous file | webrtc/build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698