minor clean ups; added a null consumer for easier valgrind testing
[melted] / src / modules / vorbis / producer_vorbis.c
index 35fd3a2..46cae76 100644 (file)
@@ -327,7 +327,7 @@ static int producer_get_frame( mlt_producer this, mlt_frame_ptr frame, int index
        mlt_frame_set_position( *frame, mlt_producer_position( this ) );
 
        // Set the position of this producer
-       mlt_properties_set_position( mlt_frame_properties( *frame ), "vorbis_position", mlt_producer_get_in( this ) + mlt_producer_position( this ) );
+       mlt_properties_set_position( mlt_frame_properties( *frame ), "vorbis_position", mlt_producer_position( this ) );
 
        // Set up the audio
        producer_set_up_audio( this, *frame );