diff --git a/upnpsoap.c b/upnpsoap.c index f9af030..979f8cb 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -508,7 +508,7 @@ static void add_resized_res(int srcw, int srch, int reqw, int reqh, char *dlna_p memcpy(passed_args->resp+passed_args->size, &str_buf, ret+1); passed_args->size += ret; } - ret = sprintf(str_buf, "protocolInfo=\"http-get:*:image/jpeg:DLNA.ORG_PN=%s\">" + ret = sprintf(str_buf, "protocolInfo=\"http-get:*:image/jpeg:DLNA.ORG_PN=%s;DLNA.ORG_CI=1\">" "http://%s:%d/Resized/%s.jpg?width=%d,height=%d" "</res>", dlna_pn, lan_addr[0].str, runtime_vars.port,