|
|
@@ -168,8 +168,8 @@ int main() {
|
|
|
}
|
|
|
|
|
|
// video streamer control
|
|
|
- if (camera.is_capturing() && ImGui::CollapsingHeader("Video Streamer")) {
|
|
|
- ImGui::PushID("Streamer");
|
|
|
+ if (camera.is_capturing() && ImGui::CollapsingHeader("Video Encoder")) {
|
|
|
+ ImGui::PushID("Encoder");
|
|
|
|
|
|
ImGui::SeparatorText("Actions");
|
|
|
if (!encoder.is_encoding()) {
|
|
|
@@ -251,7 +251,7 @@ int main() {
|
|
|
glfwSwapBuffers(main_window);
|
|
|
|
|
|
if (camera.is_capturing()) {
|
|
|
- glFlush();
|
|
|
+ glFinish();
|
|
|
}
|
|
|
}
|
|
|
|