Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: trunk/src/media/cast/video_sender/video_encoder.h

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/media/cast/video_sender/video_encoder.h
===================================================================
--- trunk/src/media/cast/video_sender/video_encoder.h (revision 226266)
+++ trunk/src/media/cast/video_sender/video_encoder.h (working copy)
@@ -27,6 +27,8 @@
const VideoSenderConfig& video_config,
uint8 max_unacked_frames);
+ virtual ~VideoEncoder();
+
// Called from the main cast thread. This function post the encode task to the
// video encoder thread;
// The video_frame must be valid until the closure callback is called.
@@ -40,8 +42,6 @@
const base::Closure frame_release_callback);
protected:
- virtual ~VideoEncoder();
-
struct CodecDynamicConfig {
bool key_frame_requested;
uint8 latest_frame_id_to_reference;
@@ -64,8 +64,6 @@
virtual int NumberOfSkippedFrames() const OVERRIDE;
private:
- friend class base::RefCountedThreadSafe<VideoEncoder>;
-
const VideoSenderConfig video_config_;
scoped_refptr<CastThread> cast_thread_;
scoped_ptr<Vp8Encoder> vp8_encoder_;
« no previous file with comments | « trunk/src/media/cast/video_sender/mock_video_encoder_controller.cc ('k') | trunk/src/media/cast/video_sender/video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698