comparison libmpdemux/demux_lavf.c @ 25879:7b82d835bed1

Support CODEC_ID_MOV_TEXT
author reimar
date Mon, 28 Jan 2008 18:29:26 +0000
parents f3ae700cc317
children baf32110d3fc
comparison
equal deleted inserted replaced
25878:05cde5afd1d8 25879:7b82d835bed1
409 if(priv->sub_streams >= MAX_S_STREAMS) 409 if(priv->sub_streams >= MAX_S_STREAMS)
410 break; 410 break;
411 /* only support text subtitles for now */ 411 /* only support text subtitles for now */
412 if(codec->codec_id == CODEC_ID_TEXT) 412 if(codec->codec_id == CODEC_ID_TEXT)
413 type = 't'; 413 type = 't';
414 else if(codec->codec_id == CODEC_ID_MOV_TEXT)
415 type = 'm';
414 else if(codec->codec_id == CODEC_ID_SSA) 416 else if(codec->codec_id == CODEC_ID_SSA)
415 type = 'a'; 417 type = 'a';
416 else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE) 418 else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE)
417 type = 'v'; 419 type = 'v';
418 else 420 else