| OLD | NEW |
| 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 #ifndef MEDIA_BASE_DEMUXER_STREAM_H_ | 5 #ifndef MEDIA_BASE_DEMUXER_STREAM_H_ |
| 6 #define MEDIA_BASE_DEMUXER_STREAM_H_ | 6 #define MEDIA_BASE_DEMUXER_STREAM_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
| 11 | 11 |
| 12 struct AVStream; | |
| 13 | |
| 14 namespace media { | 12 namespace media { |
| 15 | 13 |
| 16 class AudioDecoderConfig; | 14 class AudioDecoderConfig; |
| 17 class Buffer; | 15 class Buffer; |
| 18 class VideoDecoderConfig; | 16 class VideoDecoderConfig; |
| 19 | 17 |
| 20 class MEDIA_EXPORT DemuxerStream | 18 class MEDIA_EXPORT DemuxerStream |
| 21 : public base::RefCountedThreadSafe<DemuxerStream> { | 19 : public base::RefCountedThreadSafe<DemuxerStream> { |
| 22 public: | 20 public: |
| 23 enum Type { | 21 enum Type { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 47 virtual void EnableBitstreamConverter() = 0; | 45 virtual void EnableBitstreamConverter() = 0; |
| 48 | 46 |
| 49 protected: | 47 protected: |
| 50 friend class base::RefCountedThreadSafe<DemuxerStream>; | 48 friend class base::RefCountedThreadSafe<DemuxerStream>; |
| 51 virtual ~DemuxerStream(); | 49 virtual ~DemuxerStream(); |
| 52 }; | 50 }; |
| 53 | 51 |
| 54 } // namespace media | 52 } // namespace media |
| 55 | 53 |
| 56 #endif // MEDIA_BASE_DEMUXER_STREAM_H_ | 54 #endif // MEDIA_BASE_DEMUXER_STREAM_H_ |
| OLD | NEW |