Lines Matching full:parse
23 @@ -262,6 +262,7 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt)
25 * @parse: caller element
27 + * @size: text size need to be parse
31 @@ -271,27 +272,133 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt)
35 -gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt,
36 +gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt, gint size,
47 - GST_LOG_OBJECT (parse, "Parsing line #%d at %" GST_TIME_FORMAT,
82 + GST_LOG_OBJECT (parse, "Parsing line #%d at %" GST_TIME_FORMAT,
109 + GST_DEBUG_OBJECT (parse, "Get start time:%02d:%02d:%02d:%03d\n",
114 + GST_WARNING_OBJECT (parse,
115 + "failed to parse ssa start timestamp string :%s", t_str);
125 + GST_DEBUG_OBJECT(parse, "Get end time:%02d:%02d:%02d:%03d\n",
130 + GST_WARNING_OBJECT (parse,
131 + "failed to parse ssa end timestamp string :%s", t_str);
168 + GST_WARNING_OBJECT (parse, "Not valid text found in this buffer\n");
173 GST_LOG_OBJECT (parse, "Text : %s", t);
175 if (gst_ssa_parse_remove_override_codes (parse, t)) {
176 @@ -309,13 +416,22 @@ gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt,
194 GST_LOG_OBJECT (parse, "Pushing buffer with timestamp %" GST_TIME_FORMAT
201 ret = gst_pad_push (parse->srcpad, buf);
209 if (G_UNLIKELY (!parse->framed))
222 - ret = gst_ssa_parse_push_line (parse, txt, ts, GST_BUFFER_DURATION (buf));
223 + ret = gst_ssa_parse_push_line (parse, txt, size, ts, GST_BUFFER_DURATION (buf));