diff libmpcodecs/vf_ass.c @ 31688:2b6a652aefbe

Require libass version with ass_flush_events When using external libass, require an up to date version with the new API function ass_flush_events. Get rid of the various version checks for compatibility with older versions.
author greg
date Mon, 19 Jul 2010 00:12:04 +0000
parents dc26022e9c27
children 55dacfca4a43
line wrap: on
line diff
--- a/libmpcodecs/vf_ass.c	Sun Jul 18 23:02:25 2010 +0000
+++ b/libmpcodecs/vf_ass.c	Mon Jul 19 00:12:04 2010 +0000
@@ -89,11 +89,7 @@
 
 	if (vf->priv->ass_priv) {
 		ass_configure(vf->priv->ass_priv, vf->priv->outw, vf->priv->outh, 0);
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010
 		ass_set_aspect_ratio(vf->priv->ass_priv, 1, 1);
-#else
-		ass_set_aspect_ratio(vf->priv->ass_priv, 1);
-#endif
 	}
 
 	return vf_next_config(vf, vf->priv->outw, vf->priv->outh, d_width, d_height, flags, outfmt);