make log less verbose

Original commit message from CVS:
make log less verbose
This commit is contained in:
Thomas Vander Stichele 2004-07-18 16:58:08 +00:00
parent 74eafb8595
commit 6cc44b9322
3 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,12 @@
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),

View file

@ -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);

View file

@ -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