From f8fb6933244e2e494052c840bdd7dd9d66ed8512 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Tue, 12 Aug 2003 13:54:21 +0000 Subject: these tests are done more cenralized in video out now CVS patchset: 5276 CVS date: 2003/08/12 13:54:21 --- src/dxr3/video_out_dxr3.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/dxr3') diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index 851e0e779..ae8446475 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.84 2003/08/05 15:07:42 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.85 2003/08/12 13:54:21 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -585,10 +585,6 @@ static void dxr3_update_frame_format(vo_driver_t *this_gen, vo_frame_t *frame_ge /* don't add black bars; assume source is in 4:3 */ ratio = 4.0/3.0; - if (ratio <= 0.0) - /* correct some crazy aspects */ - ratio = (double)width / (double)height; - frame->vo_frame.ratio = ratio; frame->pan_scan = 0; frame->aspect = this->aspect; -- cgit v1.2.3