Index: media/base/media_tracks.cc |
diff --git a/media/base/media_tracks.cc b/media/base/media_tracks.cc |
index 9cfbfbe0bd9fcddc30d0c9ee57d71b717004c3a8..8b4b502a5e9b7be35564b17f28f4f4b362a07305 100644 |
--- a/media/base/media_tracks.cc |
+++ b/media/base/media_tracks.cc |
@@ -65,24 +65,4 @@ const VideoDecoderConfig& MediaTracks::getVideoConfig( |
return invalidConfig; |
} |
-const AudioDecoderConfig& MediaTracks::getFirstAudioConfig() const { |
- for (const auto& track : tracks()) { |
- if (track->type() == MediaTrack::Audio) { |
- return getAudioConfig(track->bytestream_track_id()); |
- } |
- } |
- static AudioDecoderConfig invalidConfig; |
- return invalidConfig; |
-} |
- |
-const VideoDecoderConfig& MediaTracks::getFirstVideoConfig() const { |
- for (const auto& track : tracks()) { |
- if (track->type() == MediaTrack::Video) { |
- return getVideoConfig(track->bytestream_track_id()); |
- } |
- } |
- static VideoDecoderConfig invalidConfig; |
- return invalidConfig; |
-} |
- |
} // namespace media |