Commit 7ecb5c15 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h Committed by Jean-Baptiste Kempf

kate: do not access the renderer if it fails to initialize

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bb2512e7
......@@ -404,7 +404,7 @@ static int OpenDecoder( vlc_object_t *p_this )
p_sys->p_tr = NULL;
p_sys->b_use_tiger = false;
}
else {
CHECK_TIGER_RET( tiger_renderer_set_surface_clear_color( p_sys->p_tr, 1, 0, 0, 0, 0 ) );
UpdateTigerFontEffect( p_dec );
......@@ -413,6 +413,7 @@ static int OpenDecoder( vlc_object_t *p_this )
UpdateTigerQuality( p_dec );
UpdateTigerFontDesc( p_dec );
}
}
#else
......
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