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

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

Issue 6686061: PipelineError is dead. Long live PipelineStatus! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responses to 2nd CR Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « media/base/pipeline_status.h ('k') | media/filters/ffmpeg_demuxer_factory.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Implements the Demuxer interface using FFmpeg's libavformat. At this time 5 // Implements the Demuxer interface using FFmpeg's libavformat. At this time
6 // will support demuxing any audio/video format thrown at it. The streams 6 // will support demuxing any audio/video format thrown at it. The streams
7 // output mime types audio/x-ffmpeg and video/x-ffmpeg and include an integer 7 // output mime types audio/x-ffmpeg and video/x-ffmpeg and include an integer
8 // key FFmpegCodecID which contains the CodecID enumeration value. The CodecIDs 8 // key FFmpegCodecID which contains the CodecID enumeration value. The CodecIDs
9 // can be used to create and initialize the corresponding FFmpeg decoder. 9 // can be used to create and initialize the corresponding FFmpeg decoder.
10 // 10 //
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // Flag to indicate if read has ever failed. Once set to true, it will 227 // Flag to indicate if read has ever failed. Once set to true, it will
228 // never be reset. This flag is set true and accessed in Read(). 228 // never be reset. This flag is set true and accessed in Read().
229 bool read_has_failed_; 229 bool read_has_failed_;
230 230
231 size_t last_read_bytes_; 231 size_t last_read_bytes_;
232 int64 read_position_; 232 int64 read_position_;
233 233
234 // Initialization can happen before set_host() is called, in which case we 234 // Initialization can happen before set_host() is called, in which case we
235 // store these bits for deferred reporting to the FilterHost when we get one. 235 // store these bits for deferred reporting to the FilterHost when we get one.
236 base::TimeDelta max_duration_; 236 base::TimeDelta max_duration_;
237 PipelineError deferred_status_; 237 PipelineStatus deferred_status_;
238 238
239 DISALLOW_COPY_AND_ASSIGN(FFmpegDemuxer); 239 DISALLOW_COPY_AND_ASSIGN(FFmpegDemuxer);
240 }; 240 };
241 241
242 } // namespace media 242 } // namespace media
243 243
244 #endif // MEDIA_FILTERS_FFMPEG_DEMUXER_H_ 244 #endif // MEDIA_FILTERS_FFMPEG_DEMUXER_H_
OLDNEW
« no previous file with comments | « media/base/pipeline_status.h ('k') | media/filters/ffmpeg_demuxer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698