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

Unified Diff: remoting/client/chromoting_client.cc

Issue 4136010: Cleanups in the video encoding decoding code. Reenable VP8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed arm build Created 10 years, 2 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 | « remoting/base/util.cc ('k') | remoting/client/chromoting_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 95271bed068a76ad5a85cfff939e1aa484f1fbcc..8b46a9d68309b1b6e7dba16082758eb20acdfbfe 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -131,10 +131,10 @@ void ChromotingClient::DispatchMessage() {
// TODO(ajwong): Change this to use a done callback.
InitClient(msg->init_client(),
NewTracedMethod(this, &ChromotingClient::OnMessageDone, msg));
- } else if (msg->has_rectangle_update()) {
+ } else if (msg->has_video_packet()) {
ScopedTracer tracer("Handle Rectangle Update");
rectangle_decoder_->DecodePacket(
- msg->rectangle_update(),
+ msg->video_packet(),
NewTracedMethod(this, &ChromotingClient::OnMessageDone, msg));
} else {
NOTREACHED() << "Unknown message received";
« no previous file with comments | « remoting/base/util.cc ('k') | remoting/client/chromoting_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698