diff --git a/upnpsoap.c b/upnpsoap.c index d9816a8..cc76c4c 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -620,7 +620,7 @@ add_resized_res(int srcw, int srch, int reqw, int reqh, char *dlna_pn, int dstw = reqw; int dsth = reqh; - if( args->flags & FLAG_NO_RESIZE ) + if( (args->flags & FLAG_NO_RESIZE) && reqw > 160 && reqh > 160 ) return; strcatf(args->str, "<res ");