projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ssaparse: ignore invalid UTF-8 in init section
[platform/upstream/gstreamer.git]
/
gst
/
subparse
/
gstsubparse.h
diff --git
a/gst/subparse/gstsubparse.h
b/gst/subparse/gstsubparse.h
index
f40ccee
..
2da2012
100644
(file)
--- a/
gst/subparse/gstsubparse.h
+++ b/
gst/subparse/gstsubparse.h
@@
-14,8
+14,8
@@
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
*
* 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., 5
9 Temple Place - Suite 330
,
- * Boston, MA 0211
1-1307
, USA.
+ * Free Software Foundation, Inc., 5
1 Franklin St, Fifth Floor
,
+ * Boston, MA 0211
0-1301
, USA.
*/
#ifndef __GST_SUBPARSE_H__
*/
#ifndef __GST_SUBPARSE_H__
@@
-53,7
+53,9
@@
typedef enum
GST_SUB_PARSE_FORMAT_SAMI = 4,
GST_SUB_PARSE_FORMAT_TMPLAYER = 5,
GST_SUB_PARSE_FORMAT_MPL2 = 6,
GST_SUB_PARSE_FORMAT_SAMI = 4,
GST_SUB_PARSE_FORMAT_TMPLAYER = 5,
GST_SUB_PARSE_FORMAT_MPL2 = 6,
- GST_SUB_PARSE_FORMAT_SUBVIEWER = 7
+ GST_SUB_PARSE_FORMAT_SUBVIEWER = 7,
+ GST_SUB_PARSE_FORMAT_DKS = 8,
+ GST_SUB_PARSE_FORMAT_QTTEXT = 9
} GstSubParseFormat;
typedef struct {
} GstSubParseFormat;
typedef struct {
@@
-64,7
+66,8
@@
typedef struct {
guint64 max_duration; /* to clamp duration, 0 = no limit (used by tmplayer parser) */
GstSegment *segment;
gpointer user_data;
guint64 max_duration; /* to clamp duration, 0 = no limit (used by tmplayer parser) */
GstSegment *segment;
gpointer user_data;
- gdouble fps; /* used by microdvd parser */
+ gboolean have_internal_fps; /* If TRUE don't overwrite fps by property */
+ gint fps_n, fps_d; /* used by frame based parsers */
} ParserState;
typedef gchar* (*Parser) (ParserState *state, const gchar *line);
} ParserState;
typedef gchar* (*Parser) (ParserState *state, const gchar *line);
@@
-81,6
+84,7
@@
struct _GstSubParse {
GstSubParseFormat parser_type;
gboolean parser_detected;
GstSubParseFormat parser_type;
gboolean parser_detected;
+ const gchar *subtitle_codec;
Parser parse_line;
ParserState state;
Parser parse_line;
ParserState state;
@@
-91,7
+95,6
@@
struct _GstSubParse {
/* Segment */
GstSegment segment;
/* Segment */
GstSegment segment;
- GstSeekFlags segment_flags;
gboolean need_segment;
gboolean flushing;
gboolean need_segment;
gboolean flushing;
@@
-100,6
+103,9
@@
struct _GstSubParse {
gchar *encoding;
gboolean first_buffer;
gchar *encoding;
gboolean first_buffer;
+
+ /* used by frame based parsers */
+ gint fps_n, fps_d;
};
struct _GstSubParseClass {
};
struct _GstSubParseClass {