From be7013b6c71a8b041b0e55af3703b51fad0871aa Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sat, 4 Jan 2014 14:34:10 -0800 Subject: [PATCH] Change param name "length" to "out" in mlt_playlist_insert_blank. --- src/framework/mlt_playlist.c | 4 ++-- src/framework/mlt_playlist.h | 2 +- src/mlt++/MltPlaylist.cpp | 4 ++-- src/mlt++/MltPlaylist.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index f3dd72ce..04eef95a 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1556,10 +1556,10 @@ mlt_producer mlt_playlist_replace_with_blank( mlt_playlist self, int clip ) * \public \memberof mlt_playlist_s * \param self a playlist * \param clip the index of the new blank section - * \param length the ending time of the new blank section (duration - 1) + * \param out the ending time of the new blank section (duration - 1) */ -void mlt_playlist_insert_blank( mlt_playlist self, int clip, int length ) +void mlt_playlist_insert_blank( mlt_playlist self, int clip, int out ) { if ( self != NULL && length >= 0 ) { diff --git a/src/framework/mlt_playlist.h b/src/framework/mlt_playlist.h index 20f9cfa4..cc591294 100644 --- a/src/framework/mlt_playlist.h +++ b/src/framework/mlt_playlist.h @@ -116,7 +116,7 @@ extern int mlt_playlist_clip_is_mix( mlt_playlist self, int clip ); extern void mlt_playlist_consolidate_blanks( mlt_playlist self, int keep_length ); extern int mlt_playlist_is_blank( mlt_playlist self, int clip ); extern int mlt_playlist_is_blank_at( mlt_playlist self, mlt_position position ); -extern void mlt_playlist_insert_blank( mlt_playlist self, int clip, int length ); +extern void mlt_playlist_insert_blank( mlt_playlist self, int clip, int out ); extern void mlt_playlist_pad_blanks( mlt_playlist self, mlt_position position, int length, int find ); extern mlt_producer mlt_playlist_replace_with_blank( mlt_playlist self, int clip ); extern int mlt_playlist_insert_at( mlt_playlist self, mlt_position position, mlt_producer producer, int mode ); diff --git a/src/mlt++/MltPlaylist.cpp b/src/mlt++/MltPlaylist.cpp index 557cd7d6..57c2c6ac 100644 --- a/src/mlt++/MltPlaylist.cpp +++ b/src/mlt++/MltPlaylist.cpp @@ -281,9 +281,9 @@ void Playlist::consolidate_blanks( int keep_length ) return mlt_playlist_consolidate_blanks( get_playlist( ), keep_length ); } -void Playlist::insert_blank( int clip, int length ) +void Playlist::insert_blank(int clip, int out ) { - mlt_playlist_insert_blank( get_playlist( ), clip, length ); + mlt_playlist_insert_blank( get_playlist( ), clip, out ); } void Playlist::pad_blanks( int position, int length, int find ) diff --git a/src/mlt++/MltPlaylist.h b/src/mlt++/MltPlaylist.h index 7d032556..924dc94c 100644 --- a/src/mlt++/MltPlaylist.h +++ b/src/mlt++/MltPlaylist.h @@ -96,7 +96,7 @@ namespace Mlt bool is_blank_at( int position ); void consolidate_blanks( int keep_length = 0 ); Producer *replace_with_blank( int clip ); - void insert_blank( int clip, int length ); + void insert_blank( int clip, int out ); void pad_blanks( int position, int length, int find = 0 ); int insert_at( int position, Producer *producer, int mode = 0 ); int insert_at( int position, Producer &producer, int mode = 0 ); -- 2.39.2