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