--- a/gst_plugins_base/gst/subparse/gstsubparse.h Tue Aug 31 15:30:33 2010 +0300
+++ b/gst_plugins_base/gst/subparse/gstsubparse.h Wed Sep 01 12:16:41 2010 +0100
@@ -22,7 +22,6 @@
#define __GST_SUBPARSE_H__
#include <gst/gst.h>
-#include <gst/base/gstadapter.h>
GST_DEBUG_CATEGORY_EXTERN (sub_parse_debug);
#define GST_CAT_DEFAULT sub_parse_debug
@@ -61,7 +60,6 @@
GString *buf;
guint64 start_time;
guint64 duration;
- guint64 max_duration; /* to clamp duration, 0 = no limit (used by tmplayer parser) */
GstSegment *segment;
gpointer user_data;
gdouble fps; /* used by microdvd parser */
@@ -74,14 +72,10 @@
GstPad *sinkpad,*srcpad;
- /* contains the input in the input encoding */
- GstAdapter *adapter;
- /* contains the UTF-8 decoded input */
GString *textbuf;
GstSubParseFormat parser_type;
gboolean parser_detected;
- const gchar *subtitle_codec;
Parser parse_line;
ParserState state;
@@ -97,10 +91,7 @@
gboolean flushing;
gboolean valid_utf8;
- gchar *detected_encoding;
gchar *encoding;
-
- gboolean first_buffer;
};
struct _GstSubParseClass {