diff options
author | greg <greg@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-09 17:36:24 +0000 |
---|---|---|
committer | greg <greg@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-09 17:36:24 +0000 |
commit | 5cbce43341551c4f235d3aea959f7d4d38d8f952 (patch) | |
tree | ead0550b3e735bb4c81f4ad33972febe271df44f /libmpcodecs/vf_ass.c | |
parent | 5c10618fa191d306e6d6674dd2fc7ad46476f85d (diff) | |
download | mpv-5cbce43341551c4f235d3aea959f7d4d38d8f952.tar.bz2 mpv-5cbce43341551c4f235d3aea959f7d4d38d8f952.tar.xz |
libass: fix PAR correction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30530 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_ass.c')
-rw-r--r-- | libmpcodecs/vf_ass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_ass.c index 3f5d6e352e..738d1b2574 100644 --- a/libmpcodecs/vf_ass.c +++ b/libmpcodecs/vf_ass.c @@ -95,9 +95,9 @@ static int config(struct vf_instance_s* 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 - ass_set_aspect_ratio(vf->priv->ass_priv, ((double)d_width) / d_height, ((double)width) / height); + ass_set_aspect_ratio(vf->priv->ass_priv, 1, 1); #else - ass_set_aspect_ratio(vf->priv->ass_priv, ((double)d_width) / d_height); + ass_set_aspect_ratio(vf->priv->ass_priv, 1); #endif } |