[MPlayer-cvslog] r31304 - in trunk/libmpcodecs: vf_ass.c vf_vo.c
cehoyos
subversion at mplayerhq.hu
Wed Jun 2 22:12:50 CEST 2010
Author: cehoyos
Date: Wed Jun 2 22:12:50 2010
New Revision: 31304
Log:
ass_set_aspect_ratio() takes three arguments since 0x00907010.
Modified:
trunk/libmpcodecs/vf_ass.c
trunk/libmpcodecs/vf_vo.c
Modified: trunk/libmpcodecs/vf_ass.c
==============================================================================
--- trunk/libmpcodecs/vf_ass.c Tue Jun 1 23:07:02 2010 (r31303)
+++ trunk/libmpcodecs/vf_ass.c Wed Jun 2 22:12:50 2010 (r31304)
@@ -92,7 +92,7 @@ static int config(struct vf_instance *vf
if (vf->priv->ass_priv) {
ass_configure(vf->priv->ass_priv, vf->priv->outw, vf->priv->outh, 0);
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00908000
+#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);
Modified: trunk/libmpcodecs/vf_vo.c
==============================================================================
--- trunk/libmpcodecs/vf_vo.c Tue Jun 1 23:07:02 2010 (r31303)
+++ trunk/libmpcodecs/vf_vo.c Wed Jun 2 22:12:50 2010 (r31304)
@@ -151,7 +151,7 @@ static int control(struct vf_instance *v
double dar = (double) (res.w - res.ml - res.mr) / (res.h - res.mt - res.mb);
ass_set_frame_size(vf->priv->ass_priv, res.w, res.h);
ass_set_margins(vf->priv->ass_priv, res.mt, res.mb, res.ml, res.mr);
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00908000
+#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010
ass_set_aspect_ratio(vf->priv->ass_priv, dar, (double)res.srcw/res.srch);
#else
ass_set_aspect_ratio(vf->priv->ass_priv, (double)res.w / res.h);
More information about the MPlayer-cvslog
mailing list