]> git.sesse.net Git - mlt/commitdiff
producer_vorbis.c
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 12 Jul 2005 14:45:06 +0000 (14:45 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 12 Jul 2005 14:45:06 +0000 (14:45 +0000)
+ Oops - the frame position is relative to the in point (the internal position is absolute)

git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@759 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/vorbis/producer_vorbis.c

index 744ef977525f57f85b45a22167504901da55933b..e7dd3669327b3c432a3c94ace9611088110f80d8 100644 (file)
@@ -307,7 +307,7 @@ static int producer_get_frame( mlt_producer this, mlt_frame_ptr frame, int index
        *frame = mlt_frame_init( );
 
        // Update timecode on the frame we're creating
-       mlt_frame_set_position( *frame, mlt_producer_frame( this ) );
+       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_frame( this ) );