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

Side by Side Diff: media/mp2t/mp2t_stream_parser.h

Issue 23702007: Render inband text tracks in the media pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix compile errors 11/21 #6 Created 7 years, 1 month 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/media.gyp ('k') | media/mp2t/mp2t_stream_parser.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MP2T_MP2T_STREAM_PARSER_H_ 5 #ifndef MEDIA_MP2T_MP2T_STREAM_PARSER_H_
6 #define MEDIA_MP2T_MP2T_STREAM_PARSER_H_ 6 #define MEDIA_MP2T_MP2T_STREAM_PARSER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 Mp2tStreamParser(); 29 Mp2tStreamParser();
30 virtual ~Mp2tStreamParser(); 30 virtual ~Mp2tStreamParser();
31 31
32 // StreamParser implementation. 32 // StreamParser implementation.
33 virtual void Init(const InitCB& init_cb, 33 virtual void Init(const InitCB& init_cb,
34 const NewConfigCB& config_cb, 34 const NewConfigCB& config_cb,
35 const NewBuffersCB& new_buffers_cb, 35 const NewBuffersCB& new_buffers_cb,
36 const NewTextBuffersCB& text_cb, 36 const NewTextBuffersCB& text_cb,
37 const NeedKeyCB& need_key_cb, 37 const NeedKeyCB& need_key_cb,
38 const AddTextTrackCB& add_text_track_cb,
39 const NewMediaSegmentCB& new_segment_cb, 38 const NewMediaSegmentCB& new_segment_cb,
40 const base::Closure& end_of_segment_cb, 39 const base::Closure& end_of_segment_cb,
41 const LogCB& log_cb) OVERRIDE; 40 const LogCB& log_cb) OVERRIDE;
42 virtual void Flush() OVERRIDE; 41 virtual void Flush() OVERRIDE;
43 virtual bool Parse(const uint8* buf, int size) OVERRIDE; 42 virtual bool Parse(const uint8* buf, int size) OVERRIDE;
44 43
45 private: 44 private:
46 typedef std::map<int, PidState*> PidMap; 45 typedef std::map<int, PidState*> PidMap;
47 46
48 struct BufferQueueWithConfig { 47 struct BufferQueueWithConfig {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 base::TimeDelta time_offset_; 123 base::TimeDelta time_offset_;
125 124
126 DISALLOW_COPY_AND_ASSIGN(Mp2tStreamParser); 125 DISALLOW_COPY_AND_ASSIGN(Mp2tStreamParser);
127 }; 126 };
128 127
129 } // namespace mp2t 128 } // namespace mp2t
130 } // namespace media 129 } // namespace media
131 130
132 #endif 131 #endif
133 132
OLDNEW
« no previous file with comments | « media/media.gyp ('k') | media/mp2t/mp2t_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698