Chromium Code Reviews| Index: content/renderer/media/rtc_video_decoder.h |
| diff --git a/content/renderer/media/rtc_video_decoder.h b/content/renderer/media/rtc_video_decoder.h |
| index bbc294afc8ebeb52d93d7addca5bdc4883c7d719..bfb5d96e9b9be20f55e62d479d6c650a4ca889dc 100644 |
| --- a/content/renderer/media/rtc_video_decoder.h |
| +++ b/content/renderer/media/rtc_video_decoder.h |
| @@ -103,6 +103,7 @@ class CONTENT_EXPORT RTCVideoDecoder |
| FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, IsFirstBufferAfterReset); |
| RTCVideoDecoder( |
| + webrtc::VideoCodecType type, |
| const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories); |
| // Requests a buffer to be decoded by VDA. |
| @@ -151,7 +152,8 @@ class CONTENT_EXPORT RTCVideoDecoder |
| void ReusePictureBuffer(int64 picture_buffer_id); |
| // Create |vda_| on |vda_loop_proxy_|. |
| - void CreateVDA(media::VideoCodecProfile profile, base::WaitableEvent* waiter); |
| + void CreateVDA(media::VideoCodecProfile profile, |
| + base::WaitableEvent* waiter); |
| void DestroyTextures(); |
| void DestroyVDA(); |
| @@ -193,6 +195,9 @@ class CONTENT_EXPORT RTCVideoDecoder |
| // The hardware video decoder. |
| scoped_ptr<media::VideoDecodeAccelerator> vda_; |
| + // The video codec type, as reported to WebRTC. |
|
Pawel Osciak
2014/08/12 11:06:38
Nit s/to/by/ ?
hshi1
2014/08/12 18:08:22
Done.
|
| + const webrtc::VideoCodecType video_codec_type_; |
| + |
| // The size of the incoming video frames. |
| gfx::Size frame_size_; |