Skip to content

Commit

Permalink
Fix bad check (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoyun authored Apr 23, 2021
1 parent 21ac798 commit e87be72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erizo/src/erizo/rtp/QualityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ void QualityManager::forceLayers(int spatial_layer, int temporal_layer) {
}

void QualityManager::enableSlideShowBelowSpatialLayer(bool enable, int spatial_layer) {
if (enable_fallback_below_min_layer_ == enable && slideshow_below_spatial_layer_ == spatial_layer) {
if (enable_slideshow_below_spatial_layer_ == enable && slideshow_below_spatial_layer_ == spatial_layer) {
return;
}
ELOG_DEBUG("message: enableSlideShowBelowSpatialLayer, enable %d, spatial_layer: %d", enable, spatial_layer);
Expand Down

0 comments on commit e87be72

Please sign in to comment.