diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-06-25 14:41:53 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-06-25 14:41:53 +0000 |
commit | 28e0b724feb99d1116a79e160e477a21cd0fba3a (patch) | |
tree | ed5b8b44c59b2122d6d1a4a9f7f50d0438d118db /src | |
parent | ad6dff782212fc3ca5369ad854d42e8da79cf9df (diff) | |
download | xine-lib-28e0b724feb99d1116a79e160e477a21cd0fba3a.tar.gz xine-lib-28e0b724feb99d1116a79e160e477a21cd0fba3a.tar.bz2 |
use easier to read symbolic names for the aspects
CVS patchset: 2162
CVS date: 2002/06/25 14:41:53
Diffstat (limited to 'src')
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index 7e05faab4..75c003cb0 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_dxr3.c,v 1.31 2002/06/24 19:55:38 f1rmb Exp $ + * $Id: video_out_dxr3.c,v 1.32 2002/06/25 14:41:53 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -438,8 +438,10 @@ static void dxr3_update_frame_format(vo_driver_t *this_gen, vo_frame_t *frame_ge } aspect = this->aspect; - if (ratio_code == 1 || ratio_code == 2) aspect = ASPECT_FULL; - if (ratio_code == 3 || ratio_code == 4) aspect = ASPECT_ANAMORPHIC; + if (ratio_code == XINE_ASPECT_RATIO_SQUARE || ratio_code == XINE_ASPECT_RATIO_4_3) + aspect = ASPECT_FULL; + if (ratio_code == XINE_ASPECT_RATIO_ANAMORPHIC || ratio_code == XINE_ASPECT_RATIO_211_1) + aspect = ASPECT_ANAMORPHIC; if(this->aspect != aspect) dxr3_set_property(this_gen, VO_PROP_ASPECT_RATIO, aspect); |