Bug 1714303 - Remove the probe about chained ogg. r=bryce

Differential Revision: https://phabricator.services.mozilla.com/D116698
This commit is contained in:
Paul Adenot 2021-06-21 15:36:23 +00:00
Родитель ee2e428847
Коммит d063060526
2 изменённых файлов: 0 добавлений и 27 удалений

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

@ -171,24 +171,6 @@ OggDemuxer::~OggDemuxer() {
MOZ_COUNT_DTOR(OggDemuxer);
Reset(TrackInfo::kAudioTrack);
Reset(TrackInfo::kVideoTrack);
if (HasAudio() || HasVideo()) {
// If we were able to initialize our decoders, report whether we encountered
// a chained stream or not.
bool isChained = mIsChained;
void* ptr = this;
nsCOMPtr<nsIRunnable> task = NS_NewRunnableFunction(
"OggDemuxer::~OggDemuxer", [ptr, isChained]() -> void {
// We can't use OGG_DEBUG here because it implicitly refers to `this`,
// which we can't capture in this runnable.
MOZ_LOG(gMediaDemuxerLog, mozilla::LogLevel::Debug,
("OggDemuxer(%p)::%s: Reporting telemetry "
"MEDIA_OGG_LOADED_IS_CHAINED=%d",
ptr, __func__, isChained));
Telemetry::Accumulate(
Telemetry::HistogramID::MEDIA_OGG_LOADED_IS_CHAINED, isChained);
});
SchedulerGroup::Dispatch(TaskCategory::Other, task.forget());
}
}
void OggDemuxer::SetChainingEvents(TimedMetadataEventProducer* aMetadataEvent,

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

@ -10374,15 +10374,6 @@
"n_buckets": 100,
"description": "The time (in milliseconds) that it took to load a source for the user."
},
"MEDIA_OGG_LOADED_IS_CHAINED": {
"record_in_processes": ["main", "content"],
"products": ["firefox", "fennec"],
"alert_emails": ["jya@mozilla.com", "drno@ohlmeier.org"],
"expires_in_version": "70",
"kind": "boolean",
"description": "Whether while playing Ogg audio/video we encountered a chained Ogg. Reported on every audio or video element that loads an Ogg file.",
"bug_numbers": [1230295]
},
"MEDIA_MKV_CANPLAY_REQUESTED": {
"record_in_processes": ["content"],
"products": ["firefox"],