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

Side by Side Diff: media/muxers/webm_muxer_unittest.cc

Issue 1920483002: MediaRecorderHandler and WebmMuxer: add support for H264. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« media/muxers/webm_muxer.cc ('K') | « media/muxers/webm_muxer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 236 }
237 237
238 const kTestParams kTestCases[] = { 238 const kTestParams kTestCases[] = {
239 // TODO: consider not enumerating every combination by hand. 239 // TODO: consider not enumerating every combination by hand.
240 {kCodecVP8, 1 /* num_video_tracks */, 0 /*num_audio_tracks*/}, 240 {kCodecVP8, 1 /* num_video_tracks */, 0 /*num_audio_tracks*/},
241 {kCodecVP8, 0, 1}, 241 {kCodecVP8, 0, 1},
242 {kCodecVP8, 1, 1}, 242 {kCodecVP8, 1, 1},
243 {kCodecVP9, 1, 0}, 243 {kCodecVP9, 1, 0},
244 {kCodecVP9, 0, 1}, 244 {kCodecVP9, 0, 1},
245 {kCodecVP9, 1, 1}, 245 {kCodecVP9, 1, 1},
246 {kCodecH264, 1, 0},
247 {kCodecH264, 0, 1},
248 {kCodecH264, 1, 1},
emircan 2016/04/25 19:26:16 Good time to adress TODO: const VideoCodec kCodecs
mcasas 2016/04/26 18:13:38 I tried for a while but it turned out to be involv
246 }; 249 };
247 250
248 INSTANTIATE_TEST_CASE_P(, WebmMuxerTest, ValuesIn(kTestCases)); 251 INSTANTIATE_TEST_CASE_P(, WebmMuxerTest, ValuesIn(kTestCases));
249 252
250 } // namespace media 253 } // namespace media
OLDNEW
« media/muxers/webm_muxer.cc ('K') | « media/muxers/webm_muxer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698