Skip to content

Commit

Permalink
Fix wrong stream insertion when using manual stream selection
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Oct 31, 2017
1 parent 50acf93 commit 853144d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ bool Session::initialize()

UpdateStream(stream, caps);

} while (repId--);
} while (repId-- != (manual_streams_? 1 : 0));
}
return true;
}
Expand Down

0 comments on commit 853144d

Please sign in to comment.