X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_playlist.c;h=58b371d7b10ceef4ae3b1ad1d93bdce5e6713b2f;hb=fc087d25b7b4f74449415689ed43e810388a9003;hp=a78ad6df19eaee917accbd68e4b8339e74c1ec17;hpb=9c731b9bd47481c17a4ba76ab697fd0095affe16;p=melted diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index a78ad6d..58b371d 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1192,6 +1192,14 @@ int mlt_playlist_is_blank( mlt_playlist this, int clip ) return this == NULL || mlt_producer_is_blank( mlt_playlist_get_clip( this, clip ) ); } +/** Determine if the specified position is a blank. +*/ + +int mlt_playlist_is_blank_at( mlt_playlist this, int position ) +{ + return this == NULL || mlt_producer_is_blank( mlt_playlist_get_clip_at( this, position ) ); +} + /** Replace the specified clip with a blank and return the clip. */