producer_vorbis.c
[melted] / src / modules / vorbis / producer_vorbis.c
index 951d95f..e7dd366 100644 (file)
@@ -310,7 +310,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_position( this ) );
+       mlt_properties_set_position( MLT_FRAME_PROPERTIES( *frame ), "vorbis_position", mlt_producer_frame( this ) );
 
        // Set up the audio
        mlt_frame_push_audio( *frame, this );