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

Unified Diff: content/renderer/pepper/pepper_media_stream_video_track_host.cc

Issue 2972553002: Remove MediaStreamVideoSource::GetCurrentSupportedFormats() (Closed)
Patch Set: remove extra use in media_stream_video_capturer_source_unittest.cc Created 3 years, 5 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
« no previous file with comments | « content/renderer/media_recorder/video_track_recorder_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_media_stream_video_track_host.cc
diff --git a/content/renderer/pepper/pepper_media_stream_video_track_host.cc b/content/renderer/pepper/pepper_media_stream_video_track_host.cc
index 4924a9879d97ec851e78cde766f75162653cfdde..747f8df416902a00349706caee5f88f048426398 100644
--- a/content/renderer/pepper/pepper_media_stream_video_track_host.cc
+++ b/content/renderer/pepper/pepper_media_stream_video_track_host.cc
@@ -414,20 +414,6 @@ class PepperMediaStreamVideoTrackHost::VideoSource final
~VideoSource() final { StopSourceImpl(); }
- void GetCurrentSupportedFormats(
- int max_requested_width, int max_requested_height,
- double max_requested_frame_rate,
- const VideoCaptureDeviceFormatsCB& callback) final {
- media::VideoCaptureFormats formats;
- if (host_) {
- formats.push_back(media::VideoCaptureFormat(
- host_->plugin_frame_size_,
- kDefaultOutputFrameRate,
- ToPixelFormat(host_->plugin_frame_format_)));
- }
- callback.Run(formats);
- }
-
void StartSourceImpl(
const media::VideoCaptureFormat& format,
const blink::WebMediaConstraints& constraints,
« no previous file with comments | « content/renderer/media_recorder/video_track_recorder_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698