projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix font_id_map errors when importing DCP subtitles that have no
[dcpomatic.git]
/
src
/
lib
/
encode_server_finder.h
diff --git
a/src/lib/encode_server_finder.h
b/src/lib/encode_server_finder.h
index 533c9219b33fd18e5ce352b4360da8b92e79b61f..f8a30af54b295f9a3d6906bd5ab3b878ee6fe805 100644
(file)
--- a/
src/lib/encode_server_finder.h
+++ b/
src/lib/encode_server_finder.h
@@
-66,9
+66,8
@@
private:
void search_thread ();
void listen_thread ();
void search_thread ();
void listen_thread ();
- boost::optional<std::list<EncodeServerDescription>::iterator> server_found (std::string);
void start_accept ();
void start_accept ();
- void handle_accept (boost::system::error_code ec
, std::shared_ptr<Socket> socket
);
+ void handle_accept (boost::system::error_code ec);
void config_changed (Config::Property what);
void config_changed (Config::Property what);
@@
-89,5
+88,7
@@
private:
boost::condition _search_condition;
boost::mutex _search_condition_mutex;
boost::condition _search_condition;
boost::mutex _search_condition_mutex;
+ std::shared_ptr<Socket> _accept_socket;
+
static EncodeServerFinder* _instance;
};
static EncodeServerFinder* _instance;
};