Mercurial > mplayer.hg
changeset 25857:4e593b5b4300
Reindent
author | reimar |
---|---|
date | Sun, 27 Jan 2008 16:38:04 +0000 |
parents | d42e4a4942a4 |
children | 74302bcd1035 |
files | mpcommon.c |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mpcommon.c Sun Jan 27 16:36:35 2008 +0000 +++ b/mpcommon.c Sun Jan 27 16:38:04 2008 +0000 @@ -124,17 +124,17 @@ ass_process_chunk(ass_track, packet, len, (long long)(pts*1000 + 0.5), (long long)((endpts-pts)*1000 + 0.5)); - } else { // plaintext subs with libass - vo_sub = NULL; - if (pts != MP_NOPTS_VALUE) { - if (endpts == MP_NOPTS_VALUE) endpts = pts + 3; - sub_clear_text(&subs, MP_NOPTS_VALUE); - sub_add_text(&subs, packet, len, endpts); - subs.start = pts * 100; - subs.end = endpts * 100; - ass_process_subtitle(ass_track, &subs); + } else { // plaintext subs with libass + vo_sub = NULL; + if (pts != MP_NOPTS_VALUE) { + if (endpts == MP_NOPTS_VALUE) endpts = pts + 3; + sub_clear_text(&subs, MP_NOPTS_VALUE); + sub_add_text(&subs, packet, len, endpts); + subs.start = pts * 100; + subs.end = endpts * 100; + ass_process_subtitle(ass_track, &subs); + } } - } continue; } #endif