OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // |
11 // FFmpegDemuxer sets the duration of pipeline during initialization by using | 11 // FFmpegDemuxer sets the duration of pipeline during initialization by using |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // If true, then it's our first seek and we won't call av_read_frame(). It's | 230 // If true, then it's our first seek and we won't call av_read_frame(). It's |
231 // a hack to get around some issue with FFmpeg. | 231 // a hack to get around some issue with FFmpeg. |
232 bool first_seek_hack_; | 232 bool first_seek_hack_; |
233 | 233 |
234 DISALLOW_COPY_AND_ASSIGN(FFmpegDemuxer); | 234 DISALLOW_COPY_AND_ASSIGN(FFmpegDemuxer); |
235 }; | 235 }; |
236 | 236 |
237 } // namespace media | 237 } // namespace media |
238 | 238 |
239 #endif // MEDIA_FILTERS_FFMPEG_DEMUXER_H_ | 239 #endif // MEDIA_FILTERS_FFMPEG_DEMUXER_H_ |
OLD | NEW |