From 6cc44b932205e8d17707cac020e4911af3f6d480 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 18 Jul 2004 16:58:08 +0000 Subject: [PATCH] make log less verbose Original commit message from CVS: make log less verbose --- ChangeLog | 9 +++++++++ gst/matroska/matroska-demux.c | 16 ++++++++++++++++ gst/matroska/matroska-ids.h | 1 + 3 files changed, 26 insertions(+) diff --git a/ChangeLog b/ChangeLog index fb3fbad46fd..22d7a28c105 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-07-18 Thomas Vander Stichele + + * gst/matroska/matroska-demux.c: + (gst_matroska_demux_handle_src_event), + (gst_matroska_demux_parse_blockgroup): + * gst/matroska/matroska-ids.h: + add BlockReference tag and ignore it to clear out log. + ignore NAVIGATION events to clear out log. + 2004-07-18 Thomas Vander Stichele * gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init), diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 0772644472f..4c8c93ea9d5 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -1063,6 +1063,10 @@ gst_matroska_demux_handle_src_event (GstPad * pad, GstEvent * event) case GST_EVENT_SEEK: return gst_matroska_demux_send_event (GST_ELEMENT (demux), event); + /* events we don't need to handle */ + case GST_EVENT_NAVIGATION: + break; + default: GST_WARNING ("Unhandled event of type %d", GST_EVENT_TYPE (event)); res = FALSE; @@ -1927,6 +1931,18 @@ gst_matroska_demux_parse_blockgroup (GstMatroskaDemux * demux, GST_WARNING ("FIXME: implement support for BlockDuration"); break; } + case GST_MATROSKA_ID_REFERENCEBLOCK:{ + /* FIXME: this segfaults + gint64 num; + if (!gst_ebml_read_sint (ebml, &id, &num)) { + res = FALSE; + break; + } + GST_WARNING ("FIXME: implement support for ReferenceBlock"); + */ + break; + } + default: GST_WARNING ("Unknown entry 0x%x in blockgroup data", id); diff --git a/gst/matroska/matroska-ids.h b/gst/matroska/matroska-ids.h index 16fc475f4ab..cb45665539c 100644 --- a/gst/matroska/matroska-ids.h +++ b/gst/matroska/matroska-ids.h @@ -116,6 +116,7 @@ /* IDs in the cluster master */ #define GST_MATROSKA_ID_CLUSTERTIMECODE 0xE7 #define GST_MATROSKA_ID_BLOCKGROUP 0xA0 +#define GST_MATROSKA_ID_REFERENCEBLOCK 0xFB /* IDs in the blockgroup master */ #define GST_MATROSKA_ID_BLOCK 0xA1