[M120 Migration][MM] Enable video hole when in full-screen mode in the public profile.
[platform/framework/web/chromium-efl.git] / media / filters / source_buffer_parse_warnings.h
1 // Copyright 2017 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_PARSE_WARNINGS_H_
6 #define MEDIA_FILTERS_SOURCE_BUFFER_PARSE_WARNINGS_H_
7
8 #include "base/functional/callback_forward.h"
9
10 namespace media {
11
12 // Non-fatal parsing, coded frame processing, or buffering warning. These are
13 // intended to be used for telemetry reporting to better understand the
14 // frequency at which they occur.
15 enum class SourceBufferParseWarning {
16   kKeyframeTimeGreaterThanDependant,  // Reported up to once per track.
17   kMuxedSequenceMode,                 // Reported up to once per SourceBuffer.
18
19   // Reported up to once per FrameProcessor::ProcessFrames():
20   kGroupEndTimestampDecreaseWithinMediaSegment,
21 };
22
23 // For reporting telemetry of a non-fatal SourceBufferParseWarning.
24 using SourceBufferParseWarningCB =
25     base::RepeatingCallback<void(SourceBufferParseWarning)>;
26
27 }  // namespace media
28
29 #endif  // MEDIA_FILTERS_SOURCE_BUFFER_PARSE_WARNINGS_H_