{
i_scale_height = i_scale_height * p_fmt->i_height /
p_subpic->i_original_picture_height;
- i_scale_width = i_scale_height * i_scale_height / p_fmt->i_height;
+ i_scale_width = i_scale_height * i_scale_height / p_fmt->i_height;
}
/* Set default subpicture aspect ratio */
else if( p_spu->p_text->pf_render_text )
{
p_spu->p_text->pf_render_text( p_spu->p_text,
- p_region, p_region );
+ p_region, p_region );
}
}
}
p_subpic->i_y * i_scale_height / 1000;
}
-
+
i_x_offset = __MAX( i_x_offset, 0 );
i_y_offset = __MAX( i_y_offset, 0 );