mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 15:20:02 +01:00
quality preview setting
This commit is contained in:
@@ -184,7 +184,7 @@ static void calculate_img_dimension(int w, int h, int *dst_w, int *dst_h, float
|
|||||||
float ratio = (float)tmp_w / (float) tmp_h;
|
float ratio = (float)tmp_w / (float) tmp_h;
|
||||||
*result = ratio;
|
*result = ratio;
|
||||||
|
|
||||||
if( quality != 1 ) {
|
if( quality > 0 ) {
|
||||||
int qdown = quality;
|
int qdown = quality;
|
||||||
while( (qdown > 0) ) {
|
while( (qdown > 0) ) {
|
||||||
tmp_h = tmp_h / 2;
|
tmp_h = tmp_h / 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user