[MPlayer-dev-eng] [PATCH] libass support in demux_lavf
Diego Biurrun
diego at biurrun.de
Sat Dec 29 22:38:26 CET 2007
On Sun, Dec 30, 2007 at 12:15:26AM +0300, Evgeniy Stepanov wrote:
>
> this patch adds libass support for SSA/ASS tracks in libavformat demuxer.
> Depends on ffmpeg r11352. Embedded fonts are not supported yet.
Please do not use tabs in a file that contains only spaces for
indentation.
> --- libmpdemux/demux_lavf.c (revision 25540)
> +++ libmpdemux/demux_lavf.c (working copy)
> @@ -396,13 +401,21 @@
> if(priv->sub_streams >= MAX_S_STREAMS)
> break;
> /* only support text subtitles for now */
> - if(codec->codec_id != CODEC_ID_TEXT)
> + if(codec->codec_id != CODEC_ID_TEXT &&
> + codec->codec_id != CODEC_ID_SSA)
This could be nicely aligned.
Diego
More information about the MPlayer-dev-eng
mailing list