* Set the conversion-indicator flag on resized images.

This commit is contained in:
Justin Maggard 2009-11-09 23:57:09 +00:00
parent 516b025eca
commit 4073837a34

View File

@ -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,