Index: trunk/src/media/cast/video_receiver/video_decoder.h |
=================================================================== |
--- trunk/src/media/cast/video_receiver/video_decoder.h (revision 226266) |
+++ trunk/src/media/cast/video_receiver/video_decoder.h (working copy) |
@@ -21,7 +21,9 @@ |
public: |
VideoDecoder(scoped_refptr<CastThread> cast_thread, |
const VideoReceiverConfig& video_config); |
+ ~VideoDecoder(); |
+ |
// Decode a video frame. Decoded (raw) frame will be returned in the |
// frame_decoded_callback. |
void DecodeVideoFrame(const EncodedVideoFrame* encoded_frame, |
@@ -29,12 +31,7 @@ |
const VideoFrameDecodedCallback& frame_decoded_callback, |
base::Closure frame_release_callback); |
- protected: |
- virtual ~VideoDecoder(); |
- |
private: |
- friend class base::RefCountedThreadSafe<VideoDecoder>; |
- |
void DecodeFrame(const EncodedVideoFrame* encoded_frame, |
const base::TimeTicks render_time, |
const VideoFrameDecodedCallback& frame_decoded_callback); |