Minor mods
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 14 Jan 2004 16:04:46 +0000 (16:04 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 14 Jan 2004 16:04:46 +0000 (16:04 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@77 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt/src/modules/dv/consumer_libdv.c
src/modules/dv/consumer_libdv.c

index 07bd6e6..fa1a326 100644 (file)
@@ -104,10 +104,10 @@ static dv_encoder_t *libdv_get_encoder( mlt_consumer this, mlt_frame frame )
                double fps = mlt_properties_get_double( this_properties, "fps" );
 
                // Create the encoder
-               encoder = dv_encoder_new( fps != 25, 0, 0 );
+               encoder = dv_encoder_new( 0, 0, 0 );
 
                // Encoder settings
-               encoder->isPAL = fps = 25;
+               encoder->isPAL = fps == 25;
                encoder->is16x9 = 0;
                encoder->vlc_encode_passes = 1;
                encoder->static_qno = 0;
index 07bd6e6..fa1a326 100644 (file)
@@ -104,10 +104,10 @@ static dv_encoder_t *libdv_get_encoder( mlt_consumer this, mlt_frame frame )
                double fps = mlt_properties_get_double( this_properties, "fps" );
 
                // Create the encoder
-               encoder = dv_encoder_new( fps != 25, 0, 0 );
+               encoder = dv_encoder_new( 0, 0, 0 );
 
                // Encoder settings
-               encoder->isPAL = fps = 25;
+               encoder->isPAL = fps == 25;
                encoder->is16x9 = 0;
                encoder->vlc_encode_passes = 1;
                encoder->static_qno = 0;