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

Side by Side Diff: media/filters/chunk_demuxer.h

Issue 1826583003: MSE: Record counts of detected MSE audio, video and text tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another attempt to fix that link failure. MEDIA_EXPORT should do it! 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
« no previous file with comments | « media/base/stream_parser.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_H_ 5 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_H_
6 #define MEDIA_FILTERS_CHUNK_DEMUXER_H_ 6 #define MEDIA_FILTERS_CHUNK_DEMUXER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 398
399 // Used to ensure that (1) config data matches the type and codec provided in 399 // Used to ensure that (1) config data matches the type and codec provided in
400 // AddId(), (2) only 1 audio and 1 video sources are added, and (3) ids may be 400 // AddId(), (2) only 1 audio and 1 video sources are added, and (3) ids may be
401 // removed with RemoveID() but can not be re-added (yet). 401 // removed with RemoveID() but can not be re-added (yet).
402 std::string source_id_audio_; 402 std::string source_id_audio_;
403 std::string source_id_video_; 403 std::string source_id_video_;
404 404
405 // Indicates that splice frame generation is enabled. 405 // Indicates that splice frame generation is enabled.
406 const bool splice_frames_enabled_; 406 const bool splice_frames_enabled_;
407 407
408 // Accumulate, by type, detected track counts across the SourceBuffers.
409 int detected_audio_track_count_;
410 int detected_video_track_count_;
411 int detected_text_track_count_;
412
408 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); 413 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer);
409 }; 414 };
410 415
411 } // namespace media 416 } // namespace media
412 417
413 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ 418 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_
OLDNEW
« no previous file with comments | « media/base/stream_parser.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698