From d71e3216d1b9d620388684d8c1bdf57bee6af0ff Mon Sep 17 00:00:00 2001 From: ddennedy Date: Fri, 12 Mar 2004 14:06:42 +0000 Subject: [PATCH] fix aspect git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@205 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/dv/producer_libdv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/modules/dv/producer_libdv.c b/src/modules/dv/producer_libdv.c index 6341d8a..30111da 100644 --- a/src/modules/dv/producer_libdv.c +++ b/src/modules/dv/producer_libdv.c @@ -154,7 +154,7 @@ static int producer_collect_info( producer_libdv this ) // Parse the header for meta info dv_parse_header( this->dv_decoder, dv_data ); mlt_properties_set_double( properties, "aspect_ratio", - dv_format_wide( this->dv_decoder ) ? ( this->is_pal ? 512/351 : 96/79 ) : ( this->is_pal ? 128/117 : 72/79 ) ); + dv_format_wide( this->dv_decoder ) ? ( this->is_pal ? 512.0/351.0 : 96.0/79.0 ) : ( this->is_pal ? 128.0/117.0 : 72.0/79.0 ) ); } mlt_pool_release( dv_data ); -- 1.7.4.4