summaryrefslogtreecommitdiff
path: root/client/miav_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/miav_client.cc')
-rw-r--r--client/miav_client.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/miav_client.cc b/client/miav_client.cc
index 6122093..81cde56 100644
--- a/client/miav_client.cc
+++ b/client/miav_client.cc
@@ -47,12 +47,14 @@ int main(int argc, char *argv[])
MainWindow mainwindow;
+ NetworkSender sender;
Decoder decoder;
Player player(mainwindow.getVideoWidget(), &decoder);
- NetworkSender sender;
+
+ int fps = 24;
decoder.start();
- player.start(40); // 100: 10fps, 40: 25fps
+ player.start(1000 / fps);
sender.start();
return app.exec();