/usr/include/mlt++/MltPlaylist.h is in libmlt++-dev 0.9.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | /**
* MltPlaylist.h - MLT Wrapper
* Copyright (C) 2004-2005 Charles Yates
* Author: Charles Yates <charles.yates@pandora.be>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _MLTPP_PLAYLIST_H_
#define _MLTPP_PLAYLIST_H_
#include "config.h"
#include <framework/mlt.h>
#include "MltProducer.h"
namespace Mlt
{
class Producer;
class Service;
class Playlist;
class Transition;
class Profile;
class MLTPP_DECLSPEC ClipInfo
{
public:
ClipInfo( );
ClipInfo( mlt_playlist_clip_info *info );
~ClipInfo( );
void update( mlt_playlist_clip_info *info );
int clip;
Producer *producer;
Producer *cut;
int start;
char *resource;
int frame_in;
int frame_out;
int frame_count;
int length;
float fps;
int repeat;
};
class MLTPP_DECLSPEC Playlist : public Producer
{
private:
mlt_playlist instance;
public:
Playlist( );
Playlist( Profile& profile );
Playlist( Service &playlist );
Playlist( Playlist &playlist );
Playlist( mlt_playlist playlist );
virtual ~Playlist( );
virtual mlt_playlist get_playlist( );
mlt_producer get_producer( );
int count( );
int clear( );
int append( Producer &producer, int in = -1, int out = -1 );
int blank( int out );
int blank( const char *length );
int clip( mlt_whence whence, int index );
int current_clip( );
Producer *current( );
ClipInfo *clip_info( int index, ClipInfo *info = NULL );
static void delete_clip_info( ClipInfo *info );
int insert( Producer &producer, int where, int in = -1, int out = -1 );
int remove( int where );
int move( int from, int to );
int resize_clip( int clip, int in, int out );
int split( int clip, int position );
int split_at( int position, bool left = true );
int join( int clip, int count = 1, int merge = 1 );
int mix( int clip, int length, Transition *transition = NULL );
int mix_add( int clip, Transition *transition );
int repeat( int clip, int count );
Producer *get_clip( int clip );
Producer *get_clip_at( int position );
int get_clip_index_at( int position );
bool is_mix( int clip );
bool is_blank( int clip );
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 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 );
int clip_start( int clip );
int clip_length( int clip );
int blanks_from( int clip, int bounded = 0 );
int remove_region( int position, int length );
int move_region( int position, int length, int new_position );
};
}
#endif
|