Mercurial > mplayer.hg
comparison libmpdemux/demux_lavf.c @ 31628:f15df2e3081b
Add support for DVB and XSUB subtitles, not yet working properly.
author | reimar |
---|---|
date | Sun, 11 Jul 2010 09:04:29 +0000 |
parents | cd81fce1f010 |
children | 33be6a8f9197 |
comparison
equal
deleted
inserted
replaced
31627:d0f8ed8e1f27 | 31628:f15df2e3081b |
---|---|
420 type = 'm'; | 420 type = 'm'; |
421 else if(codec->codec_id == CODEC_ID_SSA) | 421 else if(codec->codec_id == CODEC_ID_SSA) |
422 type = 'a'; | 422 type = 'a'; |
423 else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE) | 423 else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE) |
424 type = 'v'; | 424 type = 'v'; |
425 else if(codec->codec_id == CODEC_ID_XSUB) | |
426 type = 'x'; | |
427 else if(codec->codec_id == CODEC_ID_DVB_SUBTITLE) | |
428 type = 'b'; | |
425 else if(codec->codec_id == CODEC_ID_DVB_TELETEXT) | 429 else if(codec->codec_id == CODEC_ID_DVB_TELETEXT) |
426 type = 'd'; | 430 type = 'd'; |
427 else if(codec->codec_id == CODEC_ID_HDMV_PGS_SUBTITLE) | 431 else if(codec->codec_id == CODEC_ID_HDMV_PGS_SUBTITLE) |
428 type = 'p'; | 432 type = 'p'; |
429 else | 433 else |