case VLC_CODEC_RGB32:
case VLC_CODEC_RGBA:
case VLC_CODEC_ARGB:
+ case VLC_CODEC_BGRA:
p_fmt->i_bits_per_pixel = 32;
break;
case VLC_CODEC_RGB24:
}
dst->subs.psz_encoding = dst->subs.psz_encoding ? strdup( src->subs.psz_encoding ) : NULL;
+ dst->subs.p_style = src->subs.p_style ? text_style_Duplicate( src->subs.p_style ) : NULL;
if( src->video.p_palette )
{
free( fmt->video.p_palette );
free( fmt->subs.psz_encoding );
+ if ( fmt->subs.p_style ) text_style_Delete( fmt->subs.p_style );
+
if( fmt->i_extra_languages > 0 && fmt->p_extra_languages )
{
int i;