Mercurial > mplayer.hg
changeset 31239:7567de05a9db
Fix compilation with external libass.
author | cehoyos |
---|---|
date | Wed, 02 Jun 2010 20:21:29 +0000 |
parents | 1aba9097ed7d |
children | 35b5018370b8 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Wed Jun 02 20:12:50 2010 +0000 +++ b/mplayer.c Wed Jun 02 20:21:29 2010 +0000 @@ -2581,7 +2581,7 @@ vobsub_seek(vo_vobsub, mpctx->sh_video->pts); } -#ifdef CONFIG_ASS +#if defined(CONFIG_ASS_INTERNAL) || defined(LIBASS_VERSION) && LIBASS_VERSION > 0x00909000 if (ass_enabled && mpctx->d_sub->sh && ((sh_sub_t *)mpctx->d_sub->sh)->ass_track) ass_flush_events(((sh_sub_t *)mpctx->d_sub->sh)->ass_track); #endif