X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=httpinput.h;h=fc39b30f7c14f5ca701fce33d48e89dcd7a7ccc4;hp=9a2787176c4c2b8eb2ed27e1d2bf19d5b4aa4210;hb=9abb89bcf7940e2ada9d708f86a218a56334f68d;hpb=ef7f588a9b7a63ba2153cd06ce5322db4453fa16 diff --git a/httpinput.h b/httpinput.h index 9a27871..fc39b30 100644 --- a/httpinput.h +++ b/httpinput.h @@ -21,9 +21,9 @@ public: virtual std::string get_url() const { return url; } - virtual void add_destination(const std::string &stream_id) + virtual void add_destination(int stream_index) { - stream_ids.push_back(stream_id); + stream_indices.push_back(stream_index); } private: @@ -53,7 +53,7 @@ private: }; State state; - std::vector stream_ids; + std::vector stream_indices; // The URL and its parsed components. std::string url;