Commit e8f45e69 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

AVI: do not warn about embedded subtitles

parent 164c7d31
......@@ -2718,9 +2718,9 @@ exit:
block_Release( p_block );
if( p_attachment )
msg_Dbg( p_demux, "Loaded an embed subtitle" );
msg_Dbg( p_demux, "Loaded an embedded subtitle" );
else
msg_Warn( p_demux, "Failed to load an embed subtitle" );
msg_Warn( p_demux, "Failed to load an embedded subtitle" );
if( p_indx == &ck.indx )
AVI_ChunkFree( p_demux->s, &ck );
......
......@@ -416,6 +416,9 @@ static int AVI_ChunkRead_strf( stream_t *s, avi_chunk_t *p_chk )
p_chk->strf.vids.p_bih->biBitCount );
#endif
break;
case( AVIFOURCC_txts ):
p_chk->strf.common.i_cat = SPU_ES;
break;
default:
msg_Warn( (vlc_object_t*)s, "unknown stream type: %4.4s",
(char*)&p_strh->strh.i_type );
......
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