1 /* GStreamer TTML subtitle parser 2 * Copyright (C) <2015> British Broadcasting Corporation 3 * Authors: 4 * Chris Bass <dash@rd.bbc.co.uk> 5 * Peter Taylour <dash@rd.bbc.co.uk> 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Library General Public 9 * License as published by the Free Software Foundation; either 10 * version 2 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Library General Public License for more details. 16 * 17 * You should have received a copy of the GNU Library General Public 18 * License along with this library; if not, write to the 19 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 20 * Boston, MA 02110-1301, USA. 21 */ 22 23 #ifndef _TTML_PARSE_H_ 24 #define _TTML_PARSE_H_ 25 26 #include <gst/gst.h> 27 28 G_BEGIN_DECLS 29 30 GList *ttml_parse (const gchar * file, GstClockTime begin, 31 GstClockTime duration); 32 33 G_END_DECLS 34 #endif /* _TTML_PARSE_H_ */ 35