Backed out changeset c7be30a5321e (bug 1238433) for bustage

This commit is contained in:
Carsten "Tomcat" Book 2016-02-18 10:52:03 +01:00
Родитель 6867ecf8e7
Коммит 474154ff85
2 изменённых файлов: 0 добавлений и 23 удалений

Просмотреть файл

@ -108,9 +108,6 @@ static mozilla::LazyLogModule gMediaElementEventsLog("nsMediaElementEvents");
#include "mozilla/EventStateManager.h"
#include "mozilla/dom/HTMLVideoElement.h"
#include "mozilla/dom/VideoPlaybackQuality.h"
using namespace mozilla::layers;
using mozilla::net::nsMediaFragmentURIParser;
@ -2704,17 +2701,6 @@ HTMLMediaElement::ReportMSETelemetry()
}
}
if (HTMLVideoElement* vid = HTMLVideoElement::FromContentOrNull(this)) {
RefPtr<VideoPlaybackQuality> quality = vid->GetVideoPlaybackQuality();
uint64_t totalFrames = quality->TotalVideoFrames();
uint64_t droppedFrames = quality->DroppedVideoFrames();
uint32_t percentage = 100 * droppedFrames / totalFrames;
LOG(LogLevel::Debug,
("Reporting telemetry DROPPED_FRAMES_IN_VIDEO_PLAYBACK"));
Telemetry::Accumulate(Telemetry::VIDEO_DROPPED_FRAMES_PROPORTION,
percentage);
}
Telemetry::Accumulate(Telemetry::VIDEO_MSE_UNLOAD_STATE, state);
LOG(LogLevel::Debug, ("%p VIDEO_MSE_UNLOAD_STATE = %d", this, state));

Просмотреть файл

@ -10201,15 +10201,6 @@
"kind": "count",
"description": "Uses of HTMLMediaElement.fastSeek"
},
"VIDEO_DROPPED_FRAMES_PROPORTION" : {
"alert_emails": ["lchristie@mozilla.com", "cpearce@mozilla.com"],
"expires_in_version": "55",
"kind": "linear",
"high": "100",
"n_buckets": 101,
"bug_numbers": [1238433],
"description": "Percentage of frames decoded frames dropped in an HTMLVideoElement"
},
"TAB_SWITCH_CACHE_POSITION": {
"expires_in_version": "55",
"bug_numbers": [1242013],