From aafcbbb2fe6db79af89c0e9c6e02fe362d048d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 9 Feb 2014 23:21:20 +0100 Subject: [PATCH] matroskaparse: Comment out some unused functions used only from the commented out pull-mode code --- gst/matroska/matroska-parse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gst/matroska/matroska-parse.c b/gst/matroska/matroska-parse.c index 2c49bf3a3f..9f92928b25 100644 --- a/gst/matroska/matroska-parse.c +++ b/gst/matroska/matroska-parse.c @@ -1108,6 +1108,7 @@ gst_matroska_parse_element_send_event (GstElement * element, GstEvent * event) return res; } +#if 0 /* searches for a cluster start from @pos, * return GST_FLOW_OK and cluster position in @pos if found */ static GstFlowReturn @@ -1205,7 +1206,7 @@ gst_matroska_parse_search_cluster (GstMatroskaParse * parse, gint64 * pos) *pos = newpos; return ret; } - +#endif static gboolean gst_matroska_parse_handle_seek_event (GstMatroskaParse * parse, @@ -2232,6 +2233,7 @@ gst_matroska_parse_check_read_size (GstMatroskaParse * parse, guint64 bytes) } } +#if 0 /* returns TRUE if we truely are in error state, and should give up */ static inline gboolean gst_matroska_parse_check_parse_error (GstMatroskaParse * parse) @@ -2252,6 +2254,7 @@ gst_matroska_parse_check_parse_error (GstMatroskaParse * parse) return FALSE; } } +#endif /* initializes @ebml with @bytes from input stream at current offset. * Returns EOS if insufficient available,