]> git.sesse.net Git - casparcg/blobdiff - protocol/util/ClientInfo.h
[ffmpeg] Ported 2.0.7 ffmpeg producer to 2.1.0 while still keeping the usage of the...
[casparcg] / protocol / util / ClientInfo.h
index e9402421e4d752585c5c5f6915ed2b218d1d534c..1aa2ae6a09cabb1f7619b1f717b4ef0fc725f4d3 100644 (file)
@@ -36,11 +36,10 @@ struct ConsoleClientInfo : public client_connection<wchar_t>
 {
        void send(std::wstring&& data) override
        {
-               std::wcout << (L"#" + caspar::log::replace_nonprintable_copy(data, L'?'));
+               std::wcout << (L"#" + caspar::log::replace_nonprintable_copy(data, L'?')) << std::flush;
        }
        void disconnect() override {}
-       std::wstring print() const override {return L"Console";}
-       std::wstring address() const override { return L"127.0.0.1"; }
+       std::wstring address() const override { return L"Console"; }
        void add_lifecycle_bound_object(const std::wstring& key, const std::shared_ptr<void>& lifecycle_bound) override {}
        std::shared_ptr<void> remove_lifecycle_bound_object(const std::wstring& key) override { return std::shared_ptr<void>(); }
 };