]> git.sesse.net Git - nageru/blobdiff - futatabi/mainwindow.h
Do a small hack in Futatabi to make sure that Nageru gets the subtitles in time.
[nageru] / futatabi / mainwindow.h
index afc16ff4c68c41f8cca8ff9a04ba38256f0fe369..8d286117e6a95d8f2998109ae656cd2df1d5bcca 100644 (file)
@@ -43,7 +43,6 @@ private:
 
        QLabel *disk_free_label;
        std::unique_ptr<Player> preview_player, live_player;
-       std::map<size_t, size_t> live_player_index_to_row;
        DB db;
        unsigned num_cameras;
 
@@ -103,9 +102,8 @@ private:
        void preview_angle_clicked(unsigned stream_idx);
        void play_clicked();
        void stop_clicked();
-       void live_player_clip_done();
-       std::pair<Clip, size_t> live_player_get_next_clip();
-       void live_player_clip_progress(const std::map<size_t, double> &progress);
+       void live_player_done();
+       void live_player_clip_progress(const std::map<uint64_t, double> &progress, double time_remaining);
        void set_output_status(const std::string &status);
        void playlist_duplicate();
        void playlist_remove();