misc: chain up to collectpads event handler
[platform/upstream/gst-plugins-good.git] / gst / matroska / matroska-ids.c
index 056dbf4..8e62395 100644 (file)
@@ -53,10 +53,10 @@ gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context)
   video_context->display_height = 0;
   video_context->pixel_width = 0;
   video_context->pixel_height = 0;
-  video_context->eye_mode = 0;
   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;
 }
 
@@ -107,15 +107,12 @@ 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;
 }
 
 void
 gst_matroska_register_tags (void)
 {
-  /* FIXME: Remove this when we depend on core 0.10.21 */
-  if (!gst_tag_exists (GST_TAG_ATTACHMENT))
-    gst_tag_register (GST_TAG_ATTACHMENT, GST_TAG_FLAG_META, GST_TYPE_BUFFER,
-        "attachment", "file attached to this stream", gst_tag_merge_use_first);
   /* TODO: register other custom tags */
 }