X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=input.cpp;h=7f95b2693a96ea0e56f858eb484c68e8f7a84031;hp=25012a6bbad930f63a53914ed53fd0e9d8cc4fcf;hb=cb7371a29fd92d3f7dfff29bae185a54d7f99951;hpb=c065a02f889b0f1166215278a9430ed1f560f0c2 diff --git a/input.cpp b/input.cpp index 25012a6..7f95b26 100644 --- a/input.cpp +++ b/input.cpp @@ -104,9 +104,7 @@ Input *create_input(const string &url, Input::Encoding encoding) return new HTTPInput(url, encoding); } if (protocol == "udp") { - if (encoding == Input::INPUT_ENCODING_METACUBE) { - return NULL; - } + // encoding is ignored; it's never Metacube. return new UDPInput(url); } return NULL;