This close #2383
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
/* */
switch (codec_id) {
case CODEC_ID_HDMV_PGS_SUBTITLE:
+ case CODEC_ID_XSUB:
break;
default:
msg_Warn(dec, "refusing to decode non validated subtitle codec");
{
msg_Dbg( p_demux, "stream[%d] subtitles", i );
es_format_Init( &fmt, SPU_ES, p_vids->p_bih->biCompression );
+ tk->i_cat = SPU_ES;
break;
}
else if( p_vids->p_bih->biCompression == 0x00 )
SET_PTR( pi_type, VIDEO_ES );
break;
case AVITWOCC_tx:
+ case AVITWOCC_sb:
SET_PTR( pi_type, SPU_ES );
break;
default:
#define AVITWOCC_pc VLC_TWOCC('p','c')
#define AVITWOCC_AC VLC_TWOCC('A','C')
#define AVITWOCC_tx VLC_TWOCC('t','x')
+#define AVITWOCC_sb VLC_TWOCC('s','b')
+
/* *** codex stuff *** */
/* DV */