X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2Fconsumer_westley.c;h=35d4223843fc0c1c5759c55bfd4773ecc8be97d1;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=253b7ca181c24d7e868404e1c32d93d74cfd726e;hpb=b41fc3efd457b709d4f9867273f6d0da8921b904;p=melted diff --git a/src/modules/westley/consumer_westley.c b/src/modules/westley/consumer_westley.c index 253b7ca..35d4223 100644 --- a/src/modules/westley/consumer_westley.c +++ b/src/modules/westley/consumer_westley.c @@ -3,19 +3,19 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Dan Dennedy * - * 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 */ #include "consumer_westley.h" @@ -404,7 +404,7 @@ static void serialise_playlist( serialise_context context, mlt_service service, char length[ 20 ]; length[ 19 ] = '\0'; xmlNode *entry = xmlNewChild( child, NULL, "blank", NULL ); - snprintf( length, 19, "%d", info.frame_count ); + snprintf( length, 19, "%d", (int)info.frame_count ); xmlNewProp( entry, "length", length ); } else @@ -413,9 +413,9 @@ static void serialise_playlist( serialise_context context, mlt_service service, xmlNode *entry = xmlNewChild( child, NULL, "entry", NULL ); id = westley_get_id( context, MLT_SERVICE( producer ), westley_existing ); xmlNewProp( entry, "producer", id ); - sprintf( temp, "%d", info.frame_in ); + sprintf( temp, "%d", (int)info.frame_in ); xmlNewProp( entry, "in", temp ); - sprintf( temp, "%d", info.frame_out ); + sprintf( temp, "%d", (int)info.frame_out ); xmlNewProp( entry, "out", temp ); if ( info.repeat > 1 ) {