Fix for receive only channels.
TBR Review URL: https://webrtc-codereview.appspot.com/564008 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2216 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
c309c7c52b
commit
a69634aa92
@ -206,8 +206,6 @@ int ViEChannelManager::DeleteChannel(int channel_id) {
|
|||||||
|
|
||||||
// Check if other channels are using the same encoder.
|
// Check if other channels are using the same encoder.
|
||||||
if (ChannelUsingViEEncoder(channel_id)) {
|
if (ChannelUsingViEEncoder(channel_id)) {
|
||||||
// Not supported.
|
|
||||||
assert(false);
|
|
||||||
vie_encoder = NULL;
|
vie_encoder = NULL;
|
||||||
} else {
|
} else {
|
||||||
// Delete later when we've released the critsect.
|
// Delete later when we've released the critsect.
|
||||||
|
Loading…
Reference in New Issue
Block a user