fix(api): remove new output reset code

This commit is contained in:
TinyOh 2019-03-14 14:03:37 +08:00
parent cda6024a3e
commit 8f50f8d214

View File

@ -268,8 +268,6 @@ Processor::process_type Processor::ProcessInputConnection() {
api::StreamData Processor::GetStreamData(const Stream &stream) { api::StreamData Processor::GetStreamData(const Stream &stream) {
auto sum = getStreamsSum(); auto sum = getStreamsSum();
auto &&out = GetOutput(); auto &&out = GetOutput();
// to make sure that one frame can just be get once!
output_result_ = nullptr;
Synthetic::Mode enable_mode = Synthetic::MODE_OFF; Synthetic::Mode enable_mode = Synthetic::MODE_OFF;
auto streams = getTargetStreams(); auto streams = getTargetStreams();
for (auto it_s : streams) { for (auto it_s : streams) {