summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-07-18 16:58:08 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-07-18 16:58:08 +0000
commit6cc44b932205e8d17707cac020e4911af3f6d480 (patch)
tree7935f1ea715fd553b51df30970c0061029603f92
parent74eafb859545eb11b1b2f49aef3a1b2c13eb8e2f (diff)
make log less verbose
Original commit message from CVS: make log less verbose
-rw-r--r--ChangeLog9
-rw-r--r--gst/matroska/matroska-demux.c16
-rw-r--r--gst/matroska/matroska-ids.h1
3 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fb3fbad4..22d7a28c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2004-07-18 Thomas Vander Stichele <thomas at apestaart dot org>
+ * 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 <thomas at apestaart dot org>
+
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_add_stream):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init):
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 07726444..4c8c93ea 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 16fc475f..cb456655 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