am 94edc18b: Fixed session not terminated when bandwidth goes below the supported encoded bitrate (preload error).

* commit '94edc18bdeb3a4a1e044ee81bb1f64ccb31c4a8e':
  Fixed session not terminated when bandwidth goes below the supported encoded bitrate (preload error).
This commit is contained in:
Edwin Wong
2011-11-15 18:01:17 -08:00
committed by Android Git Automerger

View File

@@ -154,10 +154,12 @@ void WVMExtractorImpl::Initialize()
if (result != WV_Status_OK) {
LOGE("WV_Setup returned status %d in WVMMediaSource::start\n", result);
mSetupStatus = ERROR_IO;
}
WV_Teardown(mSession);
mSession = NULL;
} else {
mInfoListener->setSession(mSession);
}
}
WV_SetWarningToErrorMS(10000);
}