* Copyright (C) 2004-2005 Charles Yates
* Author: Charles Yates <charles.yates@pandora.be>
*
- * This program 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 of the License, or
- * (at your option) any later version.
+ * 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 program is distributed in the hope that it will be useful,
+ * 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 General Public License for more details.
+ * 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 General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * 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_PRODUCER_H_
mlt_producer get_parent( );
mlt_service get_service( );
int seek( int position );
+ int seek( const char* time );
int position( );
int frame( );
+ char* frame_time( mlt_time_format = mlt_time_smpte );
int set_speed( double speed );
+ int pause( );
double get_speed( );
double get_fps( );
int set_in_and_out( int in, int out );
int get_in( );
int get_out( );
int get_length( );
+ char* get_length_time( mlt_time_format = mlt_time_smpte );
int get_playtime( );
Producer *cut( int in = 0, int out = -1 );
bool is_cut( );
bool same_clip( Producer &that );
bool runs_into( Producer &that );
void optimise( );
+ int clear( );
};
}