Chromium Code Reviews| Index: media/cast/video_receiver/video_decoder.h |
| diff --git a/media/cast/video_receiver/video_decoder.h b/media/cast/video_receiver/video_decoder.h |
| index e98768c215c840d8e2a04f1cd6c5608f094837ba..46fe080d0db1b09236281ffd11982449608aea7c 100644 |
| --- a/media/cast/video_receiver/video_decoder.h |
| +++ b/media/cast/video_receiver/video_decoder.h |
| @@ -19,14 +19,15 @@ class Vp8Decoder; |
| // thread. |
| class VideoDecoder : public base::NonThreadSafe { |
| public: |
| - explicit VideoDecoder(const VideoReceiverConfig& video_config); |
| + VideoDecoder(const VideoReceiverConfig& video_config, |
| + scoped_refptr<CastEnvironment> cast_environment); |
| virtual ~VideoDecoder(); |
| - // Decode a video frame. Decoded (raw) frame will be returned in the |
| - // provided video_frame. |
| + // Decode a video frame. Decoded (raw) frame will be returned via the |
| + // provided callback |
| bool DecodeVideoFrame(const EncodedVideoFrame* encoded_frame, |
| const base::TimeTicks render_time, |
| - I420VideoFrame* video_frame); |
| + const VideoFrameDecodedCallback frame_decoded_cb); |
|
Alpha Left Google
2013/11/06 18:41:49
Sorry again this should be const ref, you were rig
mikhal
2013/11/06 18:53:07
Done.
|
| private: |
| VideoCodec codec_; |