X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=httpinput.h;h=fc39b30f7c14f5ca701fce33d48e89dcd7a7ccc4;hp=9a2787176c4c2b8eb2ed27e1d2bf19d5b4aa4210;hb=ea11d357cc010351871392e433880fb2401161b2;hpb=340489a8e732519182ecbc92116e7dfa2997143c 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;