X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2Fconsumer_libdv.c;h=dbb817e2ed5bbdf91bedaf19e825d9f0e5eee1bc;hb=9ee9f721d85c1dd4df071034b6cef3ea1eb768a0;hp=c8f58bd2081e5e391e6651485fddba5ab6d34fa3;hpb=4b72d1071d80828a599085618bbba67a18d14e56;p=melted diff --git a/src/modules/dv/consumer_libdv.c b/src/modules/dv/consumer_libdv.c index c8f58bd..dbb817e 100644 --- a/src/modules/dv/consumer_libdv.c +++ b/src/modules/dv/consumer_libdv.c @@ -280,7 +280,7 @@ static void consumer_encode_audio( mlt_consumer this, uint8_t *dv_frame, mlt_fra time_t start = time( NULL ); int height = mlt_properties_get_int( this_properties, "height" ); int is_pal = height == 576; - int is_wide = mlt_properties_get_double( frame_properties, "fps" ) == ( ( double ) 16.0 / 9.0 ); + int is_wide = mlt_properties_get_int( this_properties, "display_ratio_num" ) == 16; // Temporary - audio buffer allocation int16_t *audio_buffers[ 4 ];