X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2Fsrc%2Fframework%2Fmlt_playlist.c;h=ff9e27386ba3ec2960a54e715934073b6061d919;hb=1d46befd8150131541aa98e93573d5d6e54e9c3a;hp=921bbd5e44da3372997d8a286e997fca0b4ade62;hpb=89b7e06e362f01284cd1166a019ae3fa3093a6e4;p=melted diff --git a/mlt/src/framework/mlt_playlist.c b/mlt/src/framework/mlt_playlist.c index 921bbd5..ff9e273 100644 --- a/mlt/src/framework/mlt_playlist.c +++ b/mlt/src/framework/mlt_playlist.c @@ -149,7 +149,7 @@ static int mlt_playlist_virtual_refresh( mlt_playlist this ) mlt_properties_set_double( mlt_playlist_properties( this ), "first_fps", fps ); mlt_properties_set_double( mlt_playlist_properties( this ), "fps", fps == 0 ? 25 : fps ); mlt_properties_set_position( mlt_playlist_properties( this ), "length", frame_count ); - mlt_properties_set_position( mlt_playlist_properties( this ), "out", frame_count ); + mlt_properties_set_position( mlt_playlist_properties( this ), "out", frame_count - 1 ); return 0; }