static GstStateChangeReturn
gst_matroska_demux_change_state (GstElement * element,
GstStateChange transition);
+#if 0
static void
gst_matroska_demux_set_index (GstElement * element, GstIndex * index);
static GstIndex *gst_matroska_demux_get_index (GstElement * element);
+#endif
/* caps functions */
static GstCaps *gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext
GST_DEBUG_FUNCPTR (gst_matroska_demux_element_send_event);
gstelement_class->query =
GST_DEBUG_FUNCPTR (gst_matroska_demux_element_query);
+#if 0
gstelement_class->set_index =
GST_DEBUG_FUNCPTR (gst_matroska_demux_set_index);
gstelement_class->get_index =
GST_DEBUG_FUNCPTR (gst_matroska_demux_get_index);
+#endif
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&video_src_templ));
gst_event_unref (demux->new_segment);
demux->new_segment = NULL;
}
-
+#if 0
if (demux->common.element_index) {
gst_object_unref (demux->common.element_index);
demux->common.element_index = NULL;
}
demux->common.element_index_writer_id = -1;
+#endif
if (demux->common.global_tags) {
gst_tag_list_free (demux->common.global_tags);
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (sub)),
GST_TIME_ARGS (GST_BUFFER_DURATION (sub)));
+#if 0
if (demux->common.element_index) {
if (stream->index_writer_id == -1)
gst_index_get_writer_id (demux->common.element_index,
GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (sub), GST_FORMAT_BYTES,
cluster_offset, NULL);
}
+#endif
/* Postprocess the buffers depending on the codec used */
if (stream->postprocess_frame) {
goto parse_failed;
GST_DEBUG_OBJECT (demux, "ClusterTimeCode: %" G_GUINT64_FORMAT, num);
demux->cluster_time = num;
+#if 0
if (demux->common.element_index) {
if (demux->common.element_index_writer_id == -1)
gst_index_get_writer_id (demux->common.element_index,
GST_FORMAT_TIME, demux->cluster_time,
GST_FORMAT_BYTES, demux->cluster_offset, NULL);
}
+#endif
break;
}
case GST_MATROSKA_ID_BLOCKGROUP:
return caps;
}
+#if 0
static void
gst_matroska_demux_set_index (GstElement * element, GstIndex * index)
{
return result;
}
+#endif
static GstStateChangeReturn
gst_matroska_demux_change_state (GstElement * element,
static GstStateChangeReturn
gst_matroska_parse_change_state (GstElement * element,
GstStateChange transition);
+#if 0
static void
gst_matroska_parse_set_index (GstElement * element, GstIndex * index);
static GstIndex *gst_matroska_parse_get_index (GstElement * element);
+#endif
/* stream methods */
static void gst_matroska_parse_reset (GstElement * element);
gstelement_class->query =
GST_DEBUG_FUNCPTR (gst_matroska_parse_element_query);
+#if 0
gstelement_class->set_index =
GST_DEBUG_FUNCPTR (gst_matroska_parse_set_index);
gstelement_class->get_index =
GST_DEBUG_FUNCPTR (gst_matroska_parse_get_index);
+#endif
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_templ));
gst_event_unref (parse->new_segment);
parse->new_segment = NULL;
}
-
+#if 0
if (parse->common.element_index) {
gst_object_unref (parse->common.element_index);
parse->common.element_index = NULL;
}
parse->common.element_index_writer_id = -1;
+#endif
if (parse->common.global_tags) {
gst_tag_list_free (parse->common.global_tags);
goto parse_failed;
GST_DEBUG_OBJECT (parse, "ClusterTimeCode: %" G_GUINT64_FORMAT, num);
parse->cluster_time = num;
+#if 0
if (parse->common.element_index) {
if (parse->common.element_index_writer_id == -1)
gst_index_get_writer_id (parse->common.element_index,
GST_FORMAT_TIME, parse->cluster_time,
GST_FORMAT_BYTES, parse->cluster_offset, NULL);
}
+#endif
gst_matroska_parse_output (parse, ebml.buf, FALSE);
break;
}
return res;
}
+#if 0
static void
gst_matroska_parse_set_index (GstElement * element, GstIndex * index)
{
return result;
}
+#endif
static GstStateChangeReturn
gst_matroska_parse_change_state (GstElement * element,