mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
cdcc28c833
Adds basic support for qttext subtitles, still lacks markup tags to make it prettier, but the plain text already works. Implemented according to: http://www.apple.com/quicktime/tutorials/texttracks.html http://www.apple.com/quicktime/tutorials/textdescriptors.html Fixes #603357
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/* GStreamer QTtext subtitle parser
|
|
* Copyright (c) 2009 Thiago Santos <thiago.sousa.santos collabora co uk>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library 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 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library 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 _QTTEXT_PARSE_H_
|
|
#define _QTTEXT_PARSE_H_
|
|
|
|
#include "gstsubparse.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
gchar * parse_qttext (ParserState * state, const gchar * line);
|
|
|
|
void qttext_context_init (ParserState * state);
|
|
|
|
void qttext_context_deinit (ParserState * state);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* _QTTEXT_PARSE_H_ */
|
|
|