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

Unified Diff: content/renderer/media/video_capture_message_filter_unittest.cc

Issue 16320005: Define EncodedVideoSource and RtcCapturedEncodingVideoCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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: content/renderer/media/video_capture_message_filter_unittest.cc
diff --git a/content/renderer/media/video_capture_message_filter_unittest.cc b/content/renderer/media/video_capture_message_filter_unittest.cc
index b0ffbc719e9068cc4d1bd039e53266acc3e629d0..c1ca9b423fffd036596217f646803d593c115d0f 100644
--- a/content/renderer/media/video_capture_message_filter_unittest.cc
+++ b/content/renderer/media/video_capture_message_filter_unittest.cc
@@ -50,6 +50,23 @@ class MockVideoCaptureDelegate : public VideoCaptureMessageFilter::Delegate {
device_id_ = device_id;
}
+ // TODO: implement the following methods for encoded video capture.
Ami GONE FROM CHROMIUM 2013/06/08 00:18:01 I think this TODO is really // TODO(hshi): add te
+ virtual void OnCapabilityAvailable(
+ const media::VideoEncodingCapability& capability) OVERRIDE {}
+ virtual void OnBitstreamCreated(
+ int stream_id,
+ const media::VideoEncodingParameters& params,
+ const std::map<int, base::SharedMemoryHandle>& buffers) OVERRIDE {}
+ virtual void OnBitstreamDestroyed(int stream_id) OVERRIDE {}
+ virtual void OnBitstreamConfigChanged(
+ int stream_id,
+ const media::RuntimeVideoEncodingParameters& params) OVERRIDE {}
+ virtual void OnBitstreamReady(
+ int stream_id,
+ int buffer_id,
+ size_t size,
+ const media::BufferEncodingMetadata& metadata) OVERRIDE {}
+
void Reset() {
buffer_created_ = false;
handle_ = base::SharedMemory::NULLHandle();

Powered by Google App Engine
This is Rietveld 408576698