some fixes to the fixes
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 8 Jan 2004 04:32:09 +0000 (04:32 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 8 Jan 2004 04:32:09 +0000 (04:32 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@41 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt/src/modules/dv/producer_libdv.c
src/modules/dv/producer_libdv.c

index f3d63a6..bc233d1 100644 (file)
@@ -137,7 +137,7 @@ static int producer_collect_info( producer_libdv this )
                        mlt_properties_set_timecode( properties, "out", length );
 
                        // Parse the header for meta info
-                       dv_parse_header( this->dv_decoder, data );
+                       dv_parse_header( this->dv_decoder, dv_data );
                        mlt_properties_set_double( properties, "aspect_ratio", dv_format_wide( this->dv_decoder ) ? 16.0/9.0 : 4.0/3.0 );
                
                        // Set the speed to normal
@@ -165,7 +165,7 @@ static int producer_get_image( mlt_frame this, uint8_t **buffer, mlt_image_forma
        uint8_t *dv_data = mlt_properties_get_data( properties, "dv_data", NULL );
 
        // Parse the header for meta info
-       dv_parse_header( this->dv_decoder, data );
+       dv_parse_header( decoder, dv_data );
        
        // Assign width and height from properties
        *width = mlt_properties_get_int( properties, "width" );
@@ -224,7 +224,7 @@ static int producer_get_audio( mlt_frame this, int16_t **buffer, mlt_audio_forma
        uint8_t *dv_data = mlt_properties_get_data( properties, "dv_data", NULL );
 
        // Parse the header for meta info
-       dv_parse_header( this->dv_decoder, data );
+       dv_parse_header( decoder, dv_data );
 
        // Obtain required values
        *frequency = decoder->audio->frequency;
index f3d63a6..bc233d1 100644 (file)
@@ -137,7 +137,7 @@ static int producer_collect_info( producer_libdv this )
                        mlt_properties_set_timecode( properties, "out", length );
 
                        // Parse the header for meta info
-                       dv_parse_header( this->dv_decoder, data );
+                       dv_parse_header( this->dv_decoder, dv_data );
                        mlt_properties_set_double( properties, "aspect_ratio", dv_format_wide( this->dv_decoder ) ? 16.0/9.0 : 4.0/3.0 );
                
                        // Set the speed to normal
@@ -165,7 +165,7 @@ static int producer_get_image( mlt_frame this, uint8_t **buffer, mlt_image_forma
        uint8_t *dv_data = mlt_properties_get_data( properties, "dv_data", NULL );
 
        // Parse the header for meta info
-       dv_parse_header( this->dv_decoder, data );
+       dv_parse_header( decoder, dv_data );
        
        // Assign width and height from properties
        *width = mlt_properties_get_int( properties, "width" );
@@ -224,7 +224,7 @@ static int producer_get_audio( mlt_frame this, int16_t **buffer, mlt_audio_forma
        uint8_t *dv_data = mlt_properties_get_data( properties, "dv_data", NULL );
 
        // Parse the header for meta info
-       dv_parse_header( this->dv_decoder, data );
+       dv_parse_header( decoder, dv_data );
 
        // Obtain required values
        *frequency = decoder->audio->frequency;