X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=input.cpp;h=7f95b2693a96ea0e56f858eb484c68e8f7a84031;hp=25012a6bbad930f63a53914ed53fd0e9d8cc4fcf;hb=a0629a862bbac969ff858d8b4c3e78bd299aa721;hpb=6544fa0ec3f3a501bcb89ea977756911bd7f3ebd 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;