Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / media / cast / sender / software_video_encoder.h
index 16c8cd3..e3136d5 100644 (file)
@@ -8,6 +8,10 @@
 #include "base/basictypes.h"
 #include "base/memory/ref_counted.h"
 
+namespace base {
+class TimeTicks;
+}
+
 namespace media {
 class VideoFrame;
 }
@@ -25,8 +29,9 @@ class SoftwareVideoEncoder {
   virtual void Initialize() = 0;
 
   // Encode a raw image (as a part of a video stream).
-  virtual bool Encode(const scoped_refptr<media::VideoFrame>& video_frame,
-                      EncodedFrame* encoded_image) = 0;
+  virtual void Encode(const scoped_refptr<media::VideoFrame>& video_frame,
+                      const base::TimeTicks& reference_time,
+                      EncodedFrame* encoded_frame) = 0;
 
   // Update the encoder with a new target bit rate.
   virtual void UpdateRates(uint32 new_bitrate) = 0;