Index: media/cast/video_receiver/codecs/vp8/vp8_decoder.h |
diff --git a/media/cast/video_receiver/codecs/vp8/vp8_decoder.h b/media/cast/video_receiver/codecs/vp8/vp8_decoder.h |
index 511ad37ec961ae9e80a19d33c63b3726dd906b96..af9c60cca9985588f4e20ce64388d57201b07408 100644 |
--- a/media/cast/video_receiver/codecs/vp8/vp8_decoder.h |
+++ b/media/cast/video_receiver/codecs/vp8/vp8_decoder.h |
@@ -21,8 +21,7 @@ namespace cast { |
// thread. |
class Vp8Decoder : public base::NonThreadSafe { |
public: |
- Vp8Decoder(int number_of_cores, |
- scoped_refptr<CastEnvironment> cast_environment); |
+ Vp8Decoder(scoped_refptr<CastEnvironment> cast_environment); |
pwestin
2013/11/21 19:10:42
should be explicit
mikhal
2013/11/21 19:27:00
Done.
|
~Vp8Decoder(); |
// Decode frame - The decoded frame will be passed via the callback. |
@@ -33,10 +32,10 @@ class Vp8Decoder : public base::NonThreadSafe { |
const base::TimeTicks render_time, |
const VideoFrameDecodedCallback& frame_decoded_cb); |
- private: |
// Initialize the decoder. |
- void InitDecode(int number_of_cores); |
+ void InitDecoder(); |
+ private: |
scoped_ptr<vpx_dec_ctx_t> decoder_; |
scoped_refptr<CastEnvironment> cast_environment_; |
}; |