X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmlt%2B%2B%2FMltTractor.cpp;h=749186e5b9308600daa56e954ecfca2024758017;hb=a76d1b9744bfd10d252f598f44f523afda11d1d9;hp=43bbceda4462bda05721b7b0751b967a97ba8a5f;hpb=df95715e95cb7ccb583c289e3e56b1bf8a508267;p=mlt diff --git a/src/mlt++/MltTractor.cpp b/src/mlt++/MltTractor.cpp index 43bbceda..749186e5 100644 --- a/src/mlt++/MltTractor.cpp +++ b/src/mlt++/MltTractor.cpp @@ -3,19 +3,19 @@ * Copyright (C) 2004-2005 Charles Yates * Author: Charles Yates * - * 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 */ #include "MltTractor.h" @@ -157,3 +157,8 @@ bool Tractor::locate_cut( Producer *producer, int &track, int &cut ) return found; } + +int Tractor::connect( Producer &producer ) +{ + return mlt_tractor_connect( get_tractor( ), producer.get_service( ) ); +}