X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.h;h=f39fd9a5affc06272029e40d5b3eb6e0ea04fc03;hb=a07c3da76259d6ba479d800ffecc5617a9ad158f;hp=d68ff56d9e8bed0280a8a8c768a4d3eed4db1092;hpb=f00476101550ec7d8e863f6516aa83bc1b524570;p=melted diff --git a/src/framework/mlt_consumer.h b/src/framework/mlt_consumer.h index d68ff56..f39fd9a 100644 --- a/src/framework/mlt_consumer.h +++ b/src/framework/mlt_consumer.h @@ -3,19 +3,19 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Charles Yates * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU 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 _MLT_CONSUMER_H_ @@ -29,16 +29,16 @@ struct mlt_consumer_s { - // We're implementing service here + /* We're implementing service here */ struct mlt_service_s parent; - // public virtual + /* public virtual */ int ( *start )( mlt_consumer ); int ( *stop )( mlt_consumer ); int ( *is_stopped )( mlt_consumer ); void ( *close )( mlt_consumer ); - // Private data + /* Private data */ void *local; void *child; @@ -52,6 +52,7 @@ struct mlt_consumer_s pthread_mutex_t put_mutex; pthread_cond_t put_cond; mlt_frame put; + int put_active; }; /** Public final methods @@ -74,5 +75,6 @@ extern int mlt_consumer_stop( mlt_consumer self ); extern int mlt_consumer_is_stopped( mlt_consumer self ); extern void mlt_consumer_stopped( mlt_consumer self ); extern void mlt_consumer_close( mlt_consumer ); +extern int mlt_consumer_profile( mlt_properties properties, char *profile ); #endif