Index: content/renderer/media/webmediaplayer_ms_compositor.cc |
diff --git a/content/renderer/media/webmediaplayer_ms_compositor.cc b/content/renderer/media/webmediaplayer_ms_compositor.cc |
index 5387a2b2782ab4d0f2ed702e0ac0b7840486da98..35d39d159b4729357ae23dfcf3fdb3b8c8da63b2 100644 |
--- a/content/renderer/media/webmediaplayer_ms_compositor.cc |
+++ b/content/renderer/media/webmediaplayer_ms_compositor.cc |
@@ -143,10 +143,7 @@ WebMediaPlayerMSCompositor::WebMediaPlayerMSCompositor( |
if (!web_stream.isNull()) |
web_stream.videoTracks(video_tracks); |
- const bool remote_video = |
- video_tracks.size() && video_tracks[0].source().remote(); |
- |
- if (remote_video && |
+ if (video_tracks.size() > 0 && |
!base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableRTCSmoothnessAlgorithm)) { |
base::AutoLock auto_lock(current_frame_lock_); |
@@ -158,8 +155,7 @@ WebMediaPlayerMSCompositor::WebMediaPlayerMSCompositor( |
// Just for logging purpose. |
std::string stream_id = |
web_stream.isNull() ? std::string() : web_stream.id().utf8(); |
- const uint32_t hash_value = base::Hash(stream_id); |
- serial_ = (hash_value << 1) | (remote_video ? 1 : 0); |
+ serial_ = base::Hash(stream_id);; |
} |
WebMediaPlayerMSCompositor::~WebMediaPlayerMSCompositor() { |