Commit 34eb17b4 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Indentation.

parent 373db314
......@@ -648,10 +648,10 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
/* Scale SPU if necessary */
if( p_region->p_cache )
{
if( i_scale_width * p_region->fmt.i_width / 1000 !=
p_region->p_cache->fmt.i_width ||
i_scale_height * p_region->fmt.i_height / 1000 !=
p_region->p_cache->fmt.i_height )
if( (i_scale_width * p_region->fmt.i_width / 1000 !=
p_region->p_cache->fmt.i_width) ||
(i_scale_height * p_region->fmt.i_height / 1000 !=
p_region->p_cache->fmt.i_height) )
{
p_subpic->pf_destroy_region( VLC_OBJECT(p_spu),
p_region->p_cache );
......@@ -660,7 +660,8 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
}
if( (i_scale_width != 1000 || i_scale_height != 1000) &&
p_spu->p_scale && !p_region->p_cache )
p_spu->p_scale && !p_region->p_cache &&
VLC_FOURCC('R','G','B','A') != p_region->fmt.i_chroma /* FIXME */ )
{
picture_t *p_pic;
......@@ -734,7 +735,7 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
p_subpic->i_y * i_scale_height / 1000;
}
i_x_offset = __MAX( i_x_offset, 0 );
i_y_offset = __MAX( i_y_offset, 0 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment