upnpsoap: Use scaled thumbnails when rotation is needed
Embedded thumbnails may have an undesirable orientation, so we should do our own scaling with inline rotation if the thumbnail image needs to be rotated.
This commit is contained in:
@ -1646,6 +1646,8 @@ SendResp_resizedimg(struct upnphttp * h, char * object)
|
||||
}
|
||||
|
||||
DPRINTF(E_INFO, L_HTTP, "Serving resized image for ObjectId: %lld [%s]\n", id, file_path);
|
||||
if( rotate )
|
||||
DPRINTF(E_DEBUG, L_HTTP, "Rotating image %d degrees\n", rotate);
|
||||
switch( rotate )
|
||||
{
|
||||
case 90:
|
||||
|
Reference in New Issue
Block a user