X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2Fproducer_westley.c;h=fa4040653489a72557bc36ad6799dde2f7be7826;hb=7b0684ebe0975248af674dc5973a959d81f5f4a8;hp=6ea81c7e12983c76a82d674207d688be8416f34a;hpb=b917ae819659606f59b3ae761d06ab2095ade658;p=melted diff --git a/src/modules/westley/producer_westley.c b/src/modules/westley/producer_westley.c index 6ea81c7..fa40406 100644 --- a/src/modules/westley/producer_westley.c +++ b/src/modules/westley/producer_westley.c @@ -639,6 +639,14 @@ static void on_start_entry( deserialise_context context, const xmlChar *name, co mlt_playlist_append( MLT_PLAYLIST( parent ), producer ); } + // Handle the repeat property + if ( mlt_properties_get_int( temp, "repeat" ) > 0 ) + { + mlt_playlist_repeat_clip( MLT_PLAYLIST( parent ), + mlt_playlist_count( MLT_PLAYLIST( parent ) ) - 1, + mlt_properties_get_int( temp, "repeat" ) ); + } + mlt_playlist_get_clip_info( MLT_PLAYLIST( parent ), &info, mlt_playlist_count( MLT_PLAYLIST( parent ) ) - 1 ); entry = info.cut; }