misc: chain up to collectpads event handler
[platform/upstream/gst-plugins-good.git] / gst / matroska / matroska-ids.c
index b7153ba..8e62395 100644 (file)
 
 #include "matroska-ids.h"
 
-GType
-gst_matroska_doctype_get_type (void)
-{
-  static GType doctype_type = 0;
-
-  static const GEnumValue doctype_types[] = {
-    {GST_MATROSKA_DOCTYPE_MATROSKA, "Matroska", "matroska"},
-    {GST_MATROSKA_DOCTYPE_WEBM, "WebM", "webm"},
-    {0, NULL, NULL}
-  };
-
-  if (!doctype_type) {
-    doctype_type = g_enum_register_static ("GstMatroskaDoctype", doctype_types);
-  }
-  return doctype_type;
-}
-
 gboolean
 gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context)
 {
@@ -73,6 +56,7 @@ gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context)
   video_context->asr_mode = 0;
   video_context->fourcc = 0;
   video_context->default_fps = 0.0;
+  video_context->earliest_time = GST_CLOCK_TIME_NONE;
   return TRUE;
 }
 
@@ -123,6 +107,7 @@ gst_matroska_track_init_subtitle_context (GstMatroskaTrackContext ** p_context)
 
   (*p_context)->type = GST_MATROSKA_TRACK_TYPE_SUBTITLE;
   subtitle_context->invalid_utf8 = FALSE;
+  subtitle_context->seen_markup_tag = FALSE;
   return TRUE;
 }