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

Side by Side Diff: media/video/capture/video_capture_device_dummy.cc

Issue 15906019: Hook up EncodedVideoSource on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screencast_cl_6
Patch Set: 516738a8 IPC/struct changes, courtesy hshi@ 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/video/capture/video_capture_device_dummy.h" 5 #include "media/video/capture/video_capture_device_dummy.h"
6 6
7 namespace media { 7 namespace media {
8 8
9 VideoCaptureDevice* VideoCaptureDevice::Create(const Name& device_name) { 9 VideoCaptureDevice* VideoCaptureDevice::Create(const Name& device_name) {
10 return NULL; 10 return NULL;
11 } 11 }
12 12
13 void VideoCaptureDevice::GetDeviceNames(Names* device_names) {} 13 void VideoCaptureDevice::GetDeviceNames(Names* device_names) {}
14 14
15 VideoCaptureDeviceDummy::VideoCaptureDeviceDummy() {} 15 VideoCaptureDeviceDummy::VideoCaptureDeviceDummy() {}
16 16
17 VideoCaptureDeviceDummy::~VideoCaptureDeviceDummy() {} 17 VideoCaptureDeviceDummy::~VideoCaptureDeviceDummy() {}
18 18
19 VideoEncodingCapabilities VideoCaptureDeviceDummy::GetEncodingCapabilities() {
20 return VideoEncodingCapabilities();
21 }
22
23 void VideoCaptureDeviceDummy::TryConfigureEncodedBitstream(
24 const RuntimeVideoEncodingParameters& params) {
25 }
26
19 void VideoCaptureDeviceDummy::Allocate( 27 void VideoCaptureDeviceDummy::Allocate(
20 int width, int height, int frame_rate, 28 int width, int height, int frame_rate,
21 VideoCaptureDevice::EventHandler* observer) {} 29 VideoCaptureDevice::EventHandler* observer) {}
22 30
23 void VideoCaptureDeviceDummy::Start() {} 31 void VideoCaptureDeviceDummy::Start() {}
24 32
25 void VideoCaptureDeviceDummy::Stop() {} 33 void VideoCaptureDeviceDummy::Stop() {}
26 34
27 void VideoCaptureDeviceDummy::DeAllocate() {} 35 void VideoCaptureDeviceDummy::DeAllocate() {}
28 36
29 } // namespace media 37 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698