]> git.sesse.net Git - mlt/blobdiff - src/mlt++/MltField.cpp
Convert sRGB to linear in movit.white_balance filter.
[mlt] / src / mlt++ / MltField.cpp
index 8d89c83284b4a8231d15a588673e3a337898a203..97db56be75cda438ae2a8c4d586850a73b1108ee 100644 (file)
@@ -3,19 +3,19 @@
  * 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
  */
 
 #include "MltField.h"
@@ -61,4 +61,8 @@ int Field::plant_transition( Transition &transition, int a_track, int b_track )
        return mlt_field_plant_transition( get_field( ), transition.get_transition( ), a_track, b_track );
 }
 
+void Field::disconnect_service( Service &service )
+{
+       mlt_field_disconnect_service( get_field(), service.get_service() );
+}