1 // Copyright (c) 2016 The WebM project authors. All Rights Reserved. 2 // 3 // Use of this source code is governed by a BSD-style license 4 // that can be found in the LICENSE file in the root of the source 5 // tree. An additional intellectual property rights grant can be found 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 8 #ifndef SRC_TRACKS_PARSER_H_ 9 #define SRC_TRACKS_PARSER_H_ 10 11 #include "src/master_parser.h" 12 #include "src/track_entry_parser.h" 13 #include "webm/id.h" 14 15 namespace webm { 16 17 // Spec reference: 18 // http://matroska.org/technical/specs/index.html#Tracks 19 // http://www.webmproject.org/docs/container/#Tracks 20 class TracksParser : public MasterParser { 21 public: TracksParser()22 TracksParser() : MasterParser(MakeChild<TrackEntryParser>(Id::kTrackEntry)) {} 23 }; 24 25 } // namespace webm 26 27 #endif // SRC_TRACKS_PARSER_H_ 28