From: ddennedy Date: Fri, 12 Mar 2004 14:06:42 +0000 (+0000) Subject: fix aspect X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=d71e3216d1b9d620388684d8c1bdf57bee6af0ff;p=melted fix aspect git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@205 d19143bc-622f-0410-bfdd-b5b2a6649095 --- 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 );