Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "media/capture/capture_export.h" | |
| 6 #include "media/capture/video/video_capture_device.h" | |
| 7 | |
| 8 namespace media { | |
| 9 | |
| 10 class CAPTURE_EXPORT VideoFrameReceiver { | |
|
mcasas
2016/09/22 21:41:58
nit: now that this class gets a file on its own, i
chfremer
2016/09/22 23:41:52
Done.
| |
| 11 public: | |
| 12 virtual ~VideoFrameReceiver(){}; | |
| 13 | |
| 14 virtual void OnIncomingCapturedVideoFrame( | |
| 15 std::unique_ptr<media::VideoCaptureDevice::Client::Buffer> buffer, | |
| 16 const scoped_refptr<media::VideoFrame>& frame) = 0; | |
| 17 virtual void OnError() = 0; | |
| 18 virtual void OnLog(const std::string& message) = 0; | |
| 19 virtual void OnBufferDestroyed(int buffer_id_to_drop) = 0; | |
| 20 }; | |
| 21 | |
| 22 } // namespace media | |
| OLD | NEW |