#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
+namespace base {
+class TimeTicks;
+}
+
namespace media {
class VideoFrame;
}
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;