From: ddennedy Date: Thu, 8 Jan 2004 04:32:09 +0000 (+0000) Subject: some fixes to the fixes X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=65b53ba5ff8dd37c1499b8ceece1c5b5f583ea69;p=melted some fixes to the fixes git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@41 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt/src/modules/dv/producer_libdv.c b/mlt/src/modules/dv/producer_libdv.c index f3d63a6..bc233d1 100644 --- a/mlt/src/modules/dv/producer_libdv.c +++ b/mlt/src/modules/dv/producer_libdv.c @@ -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; diff --git a/src/modules/dv/producer_libdv.c b/src/modules/dv/producer_libdv.c index f3d63a6..bc233d1 100644 --- a/src/modules/dv/producer_libdv.c +++ b/src/modules/dv/producer_libdv.c @@ -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;