| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_IO_CONTEXT_H_ | 5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_IO_CONTEXT_H_ |
| 6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_IO_CONTEXT_H_ | 6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_IO_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "services/media/framework/parts/reader.h" | 8 #include "services/media/framework/parts/reader.h" |
| 9 extern "C" { | 9 extern "C" { |
| 10 #include "third_party/ffmpeg/libavformat/avio.h" | 10 #include "third_party/ffmpeg/libavformat/avio.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 std::shared_ptr<Reader> reader_; | 41 std::shared_ptr<Reader> reader_; |
| 42 bool can_seek_; | 42 bool can_seek_; |
| 43 int64_t size_; | 43 int64_t size_; |
| 44 int64_t position_ = 0; | 44 int64_t position_ = 0; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace media | 47 } // namespace media |
| 48 } // namespace mojo | 48 } // namespace mojo |
| 49 | 49 |
| 50 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_IO_CONTEXT_H_ | 50 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_IO_CONTEXT_H_ |
| OLD | NEW |