Skip to content

Commit

Permalink
Fix an issue when enabling padding the first time (lynckia#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
kekkokk authored and jcague committed Jul 7, 2017
1 parent 8cc5475 commit 41f608b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion erizo/src/erizo/rtp/QualityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ QualityManager::QualityManager(std::shared_ptr<Clock> the_clock)
void QualityManager::enable() {
ELOG_DEBUG("message: Enabling QualityManager");
enabled_ = true;
setPadding(true);
if (!forced_layers_) {
setPadding(true);
}
}

void QualityManager::disable() {
Expand Down

0 comments on commit 41f608b

Please sign in to comment.