Skip to content

Commit

Permalink
Fix confusion between enum types in event log parser.
Browse files Browse the repository at this point in the history
Bug: webrtc:9314
Change-Id: I923eacb60a951ca76a387f1cc6d5ffd8d0b41f3d
Reviewed-on: https://webrtc-review.googlesource.com/79140
Reviewed-by: Elad Alon <[email protected]>
Commit-Queue: Björn Terelius <[email protected]>
Cr-Commit-Position: refs/heads/master@{#23401}
  • Loading branch information
Bjorn Terelius authored and Commit Bot committed May 26, 2018
1 parent dd09287 commit 9fe6df0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions logging/rtc_event_log/rtc_event_log_parser_new.cc
Original file line number Diff line number Diff line change
Expand Up @@ -623,55 +623,55 @@ void ParsedRtcEventLogNew::StoreParsedEvent(const rtclog::Event& event) {
}
break;
}
case ParsedRtcEventLogNew::LOG_START: {
case rtclog::Event::LOG_START: {
start_log_events_.push_back(LoggedStartEvent(GetTimestamp(event)));
break;
}
case ParsedRtcEventLogNew::LOG_END: {
case rtclog::Event::LOG_END: {
stop_log_events_.push_back(LoggedStopEvent(GetTimestamp(event)));
break;
}
case ParsedRtcEventLogNew::AUDIO_PLAYOUT_EVENT: {
case rtclog::Event::AUDIO_PLAYOUT_EVENT: {
LoggedAudioPlayoutEvent playout_event = GetAudioPlayout(event);
audio_playout_events_[playout_event.ssrc].push_back(playout_event);
break;
}
case ParsedRtcEventLogNew::LOSS_BASED_BWE_UPDATE: {
case rtclog::Event::LOSS_BASED_BWE_UPDATE: {
bwe_loss_updates_.push_back(GetLossBasedBweUpdate(event));
break;
}
case ParsedRtcEventLogNew::DELAY_BASED_BWE_UPDATE: {
case rtclog::Event::DELAY_BASED_BWE_UPDATE: {
bwe_delay_updates_.push_back(GetDelayBasedBweUpdate(event));
break;
}
case ParsedRtcEventLogNew::AUDIO_NETWORK_ADAPTATION_EVENT: {
case rtclog::Event::AUDIO_NETWORK_ADAPTATION_EVENT: {
LoggedAudioNetworkAdaptationEvent ana_event =
GetAudioNetworkAdaptation(event);
audio_network_adaptation_events_.push_back(ana_event);
break;
}
case ParsedRtcEventLogNew::BWE_PROBE_CLUSTER_CREATED_EVENT: {
case rtclog::Event::BWE_PROBE_CLUSTER_CREATED_EVENT: {
bwe_probe_cluster_created_events_.push_back(
GetBweProbeClusterCreated(event));
break;
}
case ParsedRtcEventLogNew::BWE_PROBE_RESULT_EVENT: {
case rtclog::Event::BWE_PROBE_RESULT_EVENT: {
bwe_probe_result_events_.push_back(GetBweProbeResult(event));
break;
}
case ParsedRtcEventLogNew::ALR_STATE_EVENT: {
case rtclog::Event::ALR_STATE_EVENT: {
alr_state_events_.push_back(GetAlrState(event));
break;
}
case ParsedRtcEventLogNew::ICE_CANDIDATE_PAIR_CONFIG: {
case rtclog::Event::ICE_CANDIDATE_PAIR_CONFIG: {
ice_candidate_pair_configs_.push_back(GetIceCandidatePairConfig(event));
break;
}
case ParsedRtcEventLogNew::ICE_CANDIDATE_PAIR_EVENT: {
case rtclog::Event::ICE_CANDIDATE_PAIR_EVENT: {
ice_candidate_pair_events_.push_back(GetIceCandidatePairEvent(event));
break;
}
case ParsedRtcEventLogNew::UNKNOWN_EVENT: {
case rtclog::Event::UNKNOWN_EVENT: {
break;
}
}
Expand Down

0 comments on commit 9fe6df0

Please sign in to comment.