OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "base/message_loop.h" |
| 11 #include "content/common/content_export.h" |
| 12 #include "media/base/demuxer.h" |
| 13 #include "third_party/libjingle/source/talk/media/webrtc/webrtcvideodecoderfacto
ry.h" |
| 14 |
| 15 namespace webrtc { |
| 16 class VideoDecoder; |
| 17 } |
| 18 |
| 19 namespace content { |
| 20 |
| 21 class MediaStreamDependencyFactory; |
| 22 |
| 23 class CONTENT_EXPORT RTCVideoDecoderFactoryTv |
| 24 : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) { |
| 25 public: |
| 26 RTCVideoDecoderFactoryTv( |
| 27 const MediaStreamDependencyFactory* media_stream_dependency_factory); |
| 28 |
| 29 // cricket::WebRtcVideoDecoderFactory implementation. |
| 30 virtual webrtc::VideoDecoder* CreateVideoDecoder( |
| 31 webrtc::VideoCodecType type) OVERRIDE; |
| 32 virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) OVERRIDE; |
| 33 |
| 34 private: |
| 35 const MediaStreamDependencyFactory* const media_stream_dependency_factory_; |
| 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactoryTv); |
| 38 }; |
| 39 |
| 40 } // namespace content |
| 41 |
| 42 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_ |
OLD | NEW |