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

Unified Diff: remoting/codec/video_decoder_verbatim.cc

Issue 2088953004: Fix VideoDecoderVpx to use pixel format the consumer wants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: remoting/codec/video_decoder_verbatim.cc
diff --git a/remoting/codec/video_decoder_verbatim.cc b/remoting/codec/video_decoder_verbatim.cc
index 42505bd71e9f330fca58a0f583f8c09ff95eef34..d5d308cf804faa02bd8e10e7fbb6b59309a07257 100644
--- a/remoting/codec/video_decoder_verbatim.cc
+++ b/remoting/codec/video_decoder_verbatim.cc
@@ -20,6 +20,11 @@ static const int kBytesPerPixel = 4;
VideoDecoderVerbatim::VideoDecoderVerbatim() {}
VideoDecoderVerbatim::~VideoDecoderVerbatim() {}
+void VideoDecoderVerbatim::SetPixelFormat(
+ VideoDecoder::PixelFormat pixel_format) {
+ NOTIMPLEMENTED();
+}
+
bool VideoDecoderVerbatim::DecodePacket(const VideoPacket& packet,
webrtc::DesktopFrame* frame) {
webrtc::DesktopRegion* region = frame->mutable_updated_region();

Powered by Google App Engine
This is Rietveld 408576698