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

Unified Diff: media/filters/frame_processor_unittest.cc

Issue 2050043002: Generate and assign media track ids in demuxers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-streamparser-trackid
Patch Set: rebase to ToT Created 4 years, 6 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 | « media/filters/ffmpeg_demuxer.cc ('k') | media/filters/media_source_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/frame_processor_unittest.cc
diff --git a/media/filters/frame_processor_unittest.cc b/media/filters/frame_processor_unittest.cc
index d226e91d7a3e77618b95d54a437cdff3333ec402..6b3fce21106af77a688180e177e4f687236cdd4b 100644
--- a/media/filters/frame_processor_unittest.cc
+++ b/media/filters/frame_processor_unittest.cc
@@ -291,7 +291,7 @@ class FrameProcessorTest : public testing::TestWithParam<bool> {
switch (type) {
case DemuxerStream::AUDIO: {
ASSERT_FALSE(audio_);
- audio_.reset(new ChunkDemuxerStream(DemuxerStream::AUDIO, true));
+ audio_.reset(new ChunkDemuxerStream(DemuxerStream::AUDIO, true, "1"));
AudioDecoderConfig decoder_config(kCodecVorbis, kSampleFormatPlanarF32,
CHANNEL_LAYOUT_STEREO, 1000,
EmptyExtraData(), Unencrypted());
@@ -301,7 +301,7 @@ class FrameProcessorTest : public testing::TestWithParam<bool> {
}
case DemuxerStream::VIDEO: {
ASSERT_FALSE(video_);
- video_.reset(new ChunkDemuxerStream(DemuxerStream::VIDEO, true));
+ video_.reset(new ChunkDemuxerStream(DemuxerStream::VIDEO, true, "2"));
ASSERT_TRUE(video_->UpdateVideoConfig(TestVideoConfig::Normal(),
new MediaLog()));
break;
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | media/filters/media_source_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698