fix(api): fps double.

This commit is contained in:
TinyOh 2019-03-07 12:10:22 +08:00
parent ea5d40ff20
commit dc0a259007

View File

@ -91,9 +91,9 @@ void s1s2Processor::StartVideoStreaming() {
auto &&stream_data = data2api(data); auto &&stream_data = data2api(data);
ProcessNativeStream(stream, stream_data); ProcessNativeStream(stream, stream_data);
// Need mutex if set callback after start // Need mutex if set callback after start
if (callback) { // if (callback) {
callback(stream_data); // callback(stream_data);
} // }
}, },
true); true);
} }